3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php version_compare(PHP_VERSION, '5.0.0', '>=') or die("SKIP"); var_dump(preg_match('/deprecated/', ReflectionFunction::export("ereg", true)));
based on TBIlK
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught ReflectionException: Function ereg() does not exist in /in/ZpO3G:3 Stack trace: #0 [internal function]: ReflectionFunction->__construct('ereg') #1 /in/ZpO3G(3): ReflectionFunction::export('ereg', true) #2 {main} thrown in /in/ZpO3G on line 3
Process exited with code 255.
Output for 5.3.0 - 5.6.28
int(1)
Output for 5.0.0 - 5.2.17
int(0)
Output for 4.3.0 - 4.4.9
SKIP