3v4l.org

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