3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); echo 123; trigger_error('test error', E_USER_ERROR); $contents = ob_get_contents(); ob_end_clean(); ?>
Output for 4.3.2 - 7.1.0
123 Fatal error: test error in /in/62GqR on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
123 Fatal error: test error in /in/62GqR on line 4