3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( empty( eval('array(null)') ) );
based on 3ZaA0
Output for 7.0.0 - 7.2.0
Parse error: syntax error, unexpected end of file in /in/u77mM(4) : eval()'d code on line 1
Process exited with code 255.
Output for 5.5.24 - 5.6.21
Parse error: syntax error, unexpected end of file in /in/u77mM(4) : eval()'d code on line 1 bool(true)
Output for 5.4.2 - 5.4.45
Parse error: syntax error, unexpected 'eval' (T_EVAL) in /in/u77mM on line 4
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_EVAL in /in/u77mM on line 4
Process exited with code 255.