3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_DEPRECATED); ereg();
based on rJbcG
Output for 7.0.0 - 7.1.0

Process exited with code 255.
Output for 5.3.0 - 5.6.28
Deprecated: Function ereg() is deprecated in /in/hUpjU on line 5
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/hUpjU on line 3