3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ref = new ReflectionClass('ArrayObject'); var_dump($ref->getMethod('__construct')->getParameters());
based on MfKsQ
Output for 7.0.2 - 7.2.0
array(3) { [0]=> object(ReflectionParameter)#3 (1) { ["name"]=> string(5) "array" } [1]=> object(ReflectionParameter)#4 (1) { ["name"]=> string(8) "ar_flags" } [2]=> object(ReflectionParameter)#5 (1) { ["name"]=> string(14) "iterator_class" } }
Output for 7.0.0 - 7.0.1
array(1) { [0]=> object(ReflectionParameter)#3 (1) { ["name"]=> string(5) "array" } }
Output for 5.3.21 - 5.6.28
array(1) { [0]=> &object(ReflectionParameter)#3 (1) { ["name"]=> string(5) "array" } }