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:'; foreach ($constructorParameters as $parameter) { echo '- ' . $parameter->getName() . PHP_EOL; }
based on sQCME
Output for 7.0.2 - 7.2.0
Constructor parameters of ArrayObject:- array - ar_flags - iterator_class
Output for 5.3.21 - 7.0.1
Constructor parameters of ArrayObject:- array