3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ref = new ReflectionFunction('array_unique'); var_dump(count($ref->getParameters())); // outputs "1" in the PHP runtime $ref = new ReflectionFunction('array_search'); var_dump(count($ref->getParameters())); // always outputs "3"

preferences:
56.48 ms | 407 KiB | 5 Q