3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function listing() { return array("foo", "bar"); } $array = listing(); $first = reset(); var_dump($first); ?>
Output for 5.3.0 - 7.1.0
Warning: reset() expects exactly 1 parameter, 0 given in /in/FoYaY on line 6 NULL
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for reset() in /in/FoYaY on line 6 NULL