3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ReflectionFunction::export('strpos');
Output for 5.2.3 - 7.2.0
Function [ <internal:standard> function strpos ] { - Parameters [3] { Parameter #0 [ <required> $haystack ] Parameter #1 [ <required> $needle ] Parameter #2 [ <optional> $offset ] } }
Output for 5.2.2
Function [ <internal> function strpos ] { - Parameters [3] { Parameter #0 [ <required> $haystack ] Parameter #1 [ <required> $needle ] Parameter #2 [ <optional> $offset ] } }
Output for 5.2.0 - 5.2.1
Function [ <internal> public function strpos ] { - Parameters [3] { Parameter #0 [ <required> $haystack ] Parameter #1 [ <required> $needle ] Parameter #2 [ <optional> $offset ] } }
Output for 5.0.0 - 5.1.6
Function [ <internal> public function strpos ] { }
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflectionfunction' in /in/A6XrV on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflectionfunction' in /in/A6XrV on line 4