3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ex = ") {exit('hihihihihihi');}\0"; ob_start('create_function'); echo $ex; ob_get_flush(); //var_dump($ex);
based on JTScd
Output for 7.2.0
) {exit('hihihihihihi');} Deprecated: Function create_function() is deprecated in /in/BtOjS on line 6 Warning: Unexpected character in input: ' in /in/BtOjS(6) : runtime-created function on line 1 Parse error: syntax error, unexpected ')', expecting end of file in /in/BtOjS(6) : runtime-created function on line 1
Process exited with code 255.
Output for 7.0.0 - 7.1.10
) {exit('hihihihihihi');} Warning: Unexpected character in input: ' in /in/BtOjS(6) : runtime-created function on line 1 Parse error: syntax error, unexpected ')', expecting end of file in /in/BtOjS(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.3.19 - 5.6.28
) {exit('hihihihihihi');} Warning: Unexpected character in input: ' in /in/BtOjS(6) : runtime-created function on line 1 Parse error: syntax error, unexpected ')' in /in/BtOjS(6) : runtime-created function on line 1
Process exited with code 255.