3v4l.org

run code in 300+ PHP versions simultaneously
<?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'));

preferences:
58.23 ms | 402 KiB | 5 Q