Closed
Description
Adding a file containing a declare
directive to the classes cache, the directive is printed as-is, making the directive valid for all classes declared after that.
Also when using declare(strict_types=1)
in PHP 7, the generated classes.php
throws a FatalErrorException
when loaded as the "strict_types declaration must be the very first statement in the script".
Metadata
Metadata
Assignees
Labels
No labels