3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (0) echo 3; $b = (function_exists('define')); define('A', 100); $f = 'define'; $f('B', $f); class A { } var_dump(method_exists('A', '__constructor'));
based on vQjM0
Output for 4.3.0 - 7.1.0
bool(false)