3v4l.org

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

Process exited with code 153.
Output for 5.0.0 - 5.2.17
int(0)
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflectionfunction' in /in/AheLV on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflectionfunction' in /in/AheLV on line 2