3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $r = new ReflectionClass('ArrayObject'); $constructorParameters = $r->getConstructor()->getParameters(); echo 'Constructor parameters of ArrayObject:' . PHP_EOL; foreach ($constructorParameters as $parameter) { echo '- ' . $parameter->getName() . PHP_EOL; }
based on FLCQg
Output for 7.0.2 - 7.2.0
Constructor parameters of ArrayObject: - array - ar_flags - iterator_class
Output for 5.5.0 - 7.0.1
Constructor parameters of ArrayObject: - array