3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(is_callable('ReflectionMethod::export')); var_dump(is_callable(array(new Exception, 'getMessage')));
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
bool(true) bool(true)
Output for 5.0.0 - 5.0.5
bool(false) bool(true)
Output for 4.3.2 - 4.4.9
bool(false) Fatal error: Cannot instantiate non-existent class: exception in /in/4T3ii on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
bool(false) Fatal error: Cannot instantiate non-existent class: exception in /in/4T3ii on line 4