3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ref = new ReflectionClass('ArrayObject'); var_dump(count($ref->getMethod('__construct')->getParameters()));

preferences:
58.89 ms | 407 KiB | 5 Q