A function is declared in a file that has strict_types=1, but a non-strict file calls it …

from Data types
PHP 8.3.33 intermediate 1 min

A function is declared in a file that has strict_types=1, but a non-strict file calls it with numeric strings for int parameters. Which rule applies?

Report an error