3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(method_exists(new StdClass, '__toString')); var_dump(method_exists("waa", '__toString')); var_dump(method_exists(array(), '__toString')); var_dump(method_exists(1.337, '__toString'));
Output for 4.3.0 - 7.1.10
bool(false) bool(false) bool(false) bool(false)