3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(is_callable('ReflectionMethod::setAccessible')); var_dump(is_callable(array('ReflectionMethod', 'setAccessible'))); var_dump(is_callable(array('Exception::getMessage'))); var_dump(is_callable(array('Exception', 'getMessage')));
Output for 4.3.0 - 4.4.9, 5.3.0 - 7.2.0
bool(false) bool(false) bool(false) bool(false)
Output for 5.1.2 - 5.2.17
bool(false) bool(false) bool(false) Strict Standards: Non-static method Exception::getMessage() cannot be called statically in /in/XATJ5 on line 6 bool(true)
Output for 5.0.0 - 5.1.1
bool(false) bool(false) bool(false) bool(true)