3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $r = new ReflectionClass('ArrayObject'); $constructorParameters = $r->getConstructor()->getParameters(); foreach ($constructorParameters as $parameter) { var_dump($parameter->getName()); }
based on j868Z
Output for 7.0.2 - 7.2.0
string(5) "array" string(8) "ar_flags" string(14) "iterator_class"
Output for 5.3.21 - 7.0.1
string(5) "array"