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 oZsII
Output for 7.2.0
) {exit('hihihihihihi');}/ Deprecated: Function create_function() is deprecated in /in/JTScd on line 6 Parse error: syntax error, unexpected '/', expecting end of file in /in/JTScd(6) : runtime-created function on line 1
Process exited with code 255.
Output for 7.0.0 - 7.1.10
) {exit('hihihihihihi');}/ Parse error: syntax error, unexpected '/', expecting end of file in /in/JTScd(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.3.19 - 5.6.28
) {exit('hihihihihihi');}/ Parse error: syntax error, unexpected '/' in /in/JTScd(6) : runtime-created function on line 1
Process exited with code 255.