3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ReflectionMethod::export('Exception', '__construct');
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Method [ <internal:Core, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] Parameter #2 [ <optional> $previous ] } }
Output for hhvm-3.12.0
Method [ <internal, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> $message = '' ] Parameter #1 [ <optional> $code = 0 ] Parameter #2 [ <optional> __SystemLib\Throwable or NULL $previous = NULL ] } }
Output for hhvm-3.10.0
Method [ <internal, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> $message = '' ] Parameter #1 [ <optional> $code = 0 ] Parameter #2 [ <optional> Exception or NULL $previous = NULL ] } }
Output for 5.2.0 - 5.2.17
Method [ <internal, ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] } }
Output for 5.1.2 - 5.1.6
Method [ <internal, ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <required> $message ] Parameter #1 [ <required> $code ] } }
Output for 5.0.3 - 5.1.1
Method [ <internal> <ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <required> $message ] Parameter #1 [ <required> $code ] } }
Output for 5.0.1 - 5.0.2
Method [ <internal> <ctor> public method __construct ] { }
Output for 5.0.0
Method [ <internal> <ctor> method __construct ] { }
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflectionmethod' in /in/1YJjU on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflectionmethod' in /in/1YJjU on line 3