3v4l.org

run code in 300+ PHP versions simultaneously
<?php ReflectionMethod::export('RunTimeException', '__construct');
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught Error: Call to undefined method ReflectionMethod::export() in /in/5oGmQ:3 Stack trace: #0 {main} thrown in /in/5oGmQ on line 3
Process exited with code 255.
Output for 7.4.0 - 7.4.25, 7.4.27 - 7.4.33
Deprecated: Function ReflectionMethod::export() is deprecated in /in/5oGmQ on line 3 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.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.35, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.26
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.3.11, 4.4.0 - 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

preferences:
277.49 ms | 401 KiB | 339 Q