3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array_fill(0, 10000, "some text value"); while ( list($key, $value) = each($array) ) $value; //foreach ($array as $key => $value ) $value;
based on TPZlW
Output for 7.2.0
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/1NtET on line 5
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.10
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/1NtET on line 6
Process exited with code 255.