Exercise: Make PHP Strict by Default
18/50
AST is converted to bytecode
Jumps
•
In
Zend/zend_compile.c
, find what
strict_types
does
•
Find where the
flags
gets initialised
•
Change the flags, compile, and run the tests
•
Write a few scripts to test whether you can still turn off strict types