3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function listing() { return array("foo", "bar"); } $first = reset((listing())); var_dump($first); ?>