3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ereg();
Output for 7.0.0 - 7.1.10
Fatal error: Uncaught Error: Call to undefined function ereg() in /in/rJbcG:3 Stack trace: #0 {main} thrown in /in/rJbcG on line 3
Process exited with code 255.
Output for hhvm-3.22.0
Warning: ereg() expects at least 2 parameters, 0 given in /in/rJbcG on line -1
Output for hhvm-3.10.1 - 3.21.3
Warning: ereg() expects at least 2 parameters, 0 given in /in/rJbcG on line 3
Output for 5.3.0 - 5.6.30
Deprecated: Function ereg() is deprecated in /in/rJbcG on line 3 Warning: ereg() expects at least 2 parameters, 0 given in /in/rJbcG on line 3
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for ereg() in /in/rJbcG on line 3