3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ob_start('assert'); echo 'function (){register_shutdown_function(\'exit\', \'hahahahaha\')===ob_end_flush()}'; ob_end_flush();
based on lcNMu
Output for 7.1.0 - 7.2.0
function (){register_shutdown_function('exit', 'hahahahaha')===ob_end_flush()} Warning: Cannot call assert() with string argument dynamically in /in/pKM5A on line 5
Output for 5.4.8 - 5.6.28, 7.0.1 - 7.0.20
Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Process exited with code 255.
Output for 7.0.0
Catchable fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Process exited with code 255.
Output for 5.3.19 - 5.4.7