3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ReflectionFunction::export('strpos');
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
Function [ <internal:standard> function strpos ] { - Parameters [3] { Parameter #0 [ <required> $haystack ] Parameter #1 [ <required> $needle ] Parameter #2 [ <optional> $offset ] } }
Output for hhvm-3.10.0 - 3.12.0
Function [ <internal> function strpos ] { - Parameters [3] { Parameter #0 [ <required> HH\string $haystack ] Parameter #1 [ <required> HH\mixed $needle ] Parameter #2 [ <optional> HH\int $offset = 0 ] } }
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