3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Source: https://bugs.php.net/bug.php?id=62476 $a = array(); for ($d=55; $d<65; $d++) { $a[$d] = $d; } foreach($a as $b => $c){ echo "\$a[$b] == $c" }
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/TMkjp on line 10
Process exited with code 255.