3v4l.org

run code in 200+ 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 - 7.2.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