3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ReflectionMethod::export('RunTimeException', '__construct');
Output for 5.3.0 - 7.1.0
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] Parameter #2 [ <optional> $previous ] } }
Output for 5.2.0 - 5.2.17
Method [ <internal, inherits Exception, ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] } }
Output for 5.1.2 - 5.1.6
Method [ <internal, inherits Exception, ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <required> $message ] Parameter #1 [ <required> $code ] } }
Output for 5.1.0 - 5.1.1
Method [ <internal> <ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <required> $message ] Parameter #1 [ <required> $code ] } }
Output for 5.0.5
Fatal error: Uncaught exception 'ReflectionException' with message 'Class RunTimeException does not exist' in /in/5oGmQ:3 Stack trace: #0 [internal function]: ReflectionMethod::__construct('RunTimeExceptio...', '__construct') #1 /in/5oGmQ(3): ReflectionMethod::export('RunTimeExceptio...', '__construct') #2 {main} thrown in /in/5oGmQ on line 3
Process exited with code 255.
Output for 5.0.3 - 5.0.4
Fatal error: Uncaught exception 'ReflectionException' with message 'Class RunTimeException does not exist' in /in/5oGmQ:3 Stack trace: #0 /in/5oGmQ(3): ReflectionMethod::__construct('RunTimeExceptio...', '__construct') #1 /in/5oGmQ(3): ReflectionMethod::export('RunTimeExceptio...', '__construct') #2 {main} thrown in /in/5oGmQ on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.2
Fatal error: Uncaught exception 'ReflectionException' with message 'Class RunTimeException does not exist' in /in/5oGmQ:3 Stack trace: #0 /in/5oGmQ(3): ReflectionMethod::export('RunTimeExceptio...', '__construct') #1 {main} thrown in /in/5oGmQ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflectionmethod' in /in/5oGmQ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflectionmethod' in /in/5oGmQ on line 3