run code in 200+ php & hhvm versions
Bugs & Features
<?php class SubObject {} // Besides the methods listed here, this class also has an __invoke method. // This is for consistency with other classes that implement calling magic, // as this method is not used for calling the function. // Source: http://php.net/manual/en/class.closure.php var_dump(\method_exists(\SubObject::class, '__clone'));
based on nIte4
Output for 7.1.25 - 7.3.4