If my controller, index.php for example, includes declare(strict_types=1);
and then other PHP files are included, does the strict_types declaration apply to the included files also?
Or does the declaration need to be in every PHP file?
If my controller, index.php for example, includes declare(strict_types=1);
and then other PHP files are included, does the strict_types declaration apply to the included files also?
Or does the declaration need to be in every PHP file?