3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a'=>1, 'b'=>2); $b = true; while((list(, $value) = each($a)) && $b) { var_dump($value); $b = false; }
Output for 7.2.0
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/5PS9o on line 5 int(1)
Output for 4.3.0 - 7.1.10
int(1)