3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php trigger_error('test', E_USER_DEPRECATED); echo 'toto';
based on uhoAB
Output for 5.3.0 - 7.2.0
Deprecated: test in /in/INB9t on line 3 toto
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant E_USER_DEPRECATED - assumed 'E_USER_DEPRECATED' in /in/INB9t on line 3 Warning: Invalid error type specified in /in/INB9t on line 3 toto