3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ex = "phpinfo()"; ob_start('create_function'); echo $ex; ob_get_flush();
based on T4etQ
Output for 7.2.0
phpinfo() Deprecated: Function create_function() is deprecated in /in/bRWBg on line 6 Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) in /in/bRWBg(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.6.8 - 7.1.10
phpinfo() Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) in /in/bRWBg(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.4.0 - 5.5.35
phpinfo() Parse error: syntax error, unexpected '(', expecting '&' or variable (T_VARIABLE) in /in/bRWBg(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.3.19 - 5.3.29
phpinfo() Parse error: syntax error, unexpected '(', expecting '&' or T_VARIABLE in /in/bRWBg(6) : runtime-created function on line 1
Process exited with code 255.