3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a1 = array ("127", "10", "0"); $a2 = array ("250", "10", "30", "11"); $fu = array_intersect_assoc($a1, $a2); foreach($fu => $p) { print $p; } ?>
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/oORXv on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/oORXv on line 7
Process exited with code 255.