3v4l.org

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