3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php call_user_func(array('Exception', 'getMessage'));
Output for 5.3.0 - 7.1.0
Warning: call_user_func() expects parameter 1 to be a valid callback, non-static method Exception::getMessage() cannot be called statically in /in/9EsCg on line 3
Output for 5.1.2 - 5.2.17
Strict Standards: Non-static method Exception::getMessage() cannot be called statically in /in/9EsCg on line 3 Fatal error: Non-static method Exception::getMessage() cannot be called statically in /in/9EsCg on line 3
Process exited with code 255.
Output for 5.0.4 - 5.1.1
Fatal error: Non-static method Exception::getMessage() cannot be called statically in /in/9EsCg on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Strict Standards: Non-static method Exception::getMessage() cannot be called statically in /in/9EsCg on line 3
Process exited with code 139.
Output for 4.3.2 - 4.4.9
Warning: call_user_func(Exception::getMessage): First argument is expected to be a valid callback in /in/9EsCg on line 3
Output for 4.3.0 - 4.3.1
Warning: call_user_func(Exception::getMessage) [http://www.php.net/function.call-user-func]: First argument is expected to be a valid callback in /in/9EsCg on line 3