3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ReflectionFunction::export('current');
Output for 7.0.0 - 7.3.0rc3
Function [ <internal:standard> function current ] { - Parameters [1] { Parameter #0 [ <required> $arg ] } }
Output for hhvm-3.10.1 - 3.17.3
Function [ <internal> function current ] { - Parameters [1] { Parameter #0 [ <required> HH\mixed &$array ] } }
Output for 5.2.3 - 5.6.30
Function [ <internal:standard> function current ] { - Parameters [1] { Parameter #0 [ <required> &$arg ] } }
Output for 5.2.2
Function [ <internal> function current ] { - Parameters [1] { Parameter #0 [ <required> &$arg ] } }
Output for 5.2.0 - 5.2.1
Function [ <internal> public function current ] { - Parameters [1] { Parameter #0 [ <required> &$arg ] } }
Output for 5.1.0 - 5.1.6
Function [ <internal> public function current ] { - Parameters [0] { } }
Output for 5.0.3 - 5.0.5
Function [ <internal> public function current ] { - Parameters [1] { Parameter #0 [ <required> &$param0 ] } }
Output for 5.0.0 - 5.0.2
Function [ <internal> public function current ] { - Parameters [1] { Parameter #0 [ &$param0 ] } }
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflectionfunction' in /in/5ijjv on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflectionfunction' in /in/5ijjv on line 3