3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function f(&$a) { current($a); echo (key($a) === NULL); } $a = array(1, 2, 3); end($a); f($a);
Output for 4.3.0 - 7.2.0