3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); trigger_error('Foo', E_USER_DEPRECATED);
based on 00SXd
Output for 5.3.0 - 7.2.0
Deprecated: Foo in /in/R6g5t 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/R6g5t on line 3 Warning: Invalid error type specified in /in/R6g5t on line 3