3v4l.org

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