3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(Reflection::export(new ReflectionFunction('_')));
based on TcujK
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
Function [ <internal:gettext> function _ ] { - Parameters [1] { Parameter #0 [ <required> $msgid ] } } NULL
Output for hhvm-3.12.0
Function [ <internal> function _ ] { - Parameters [1] { Parameter #0 [ <required> HH\string $message ] } } NULL
Output for hhvm-3.10.0
Fatal error: Uncaught exception 'ReflectionException' with message 'Function _ does not exist' in /in/2QvbJ:3 Stack trace: #0 /in/2QvbJ(3): ReflectionFunction->__construct() #1 {main}
Process exited with code 255.
Output for 5.2.2
Function [ <internal> function _ ] { - Parameters [1] { Parameter #0 [ <required> $msgid ] } } NULL
Output for 5.2.0 - 5.2.1
Function [ <internal> public function _ ] { - Parameters [1] { Parameter #0 [ <required> $msgid ] } } NULL
Output for 5.0.0 - 5.1.6
Function [ <internal> public function _ ] { } NULL
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflection' in /in/2QvbJ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflection' in /in/2QvbJ on line 3