3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ReflectionFunction::export('strpos');
Output for 5.2.3 - 7.1.10
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/k6aNY on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflectionfunction' in /in/k6aNY on line 3