3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3,4); $b = array(5,6); $c = array("a","b","c"); foreach($a as $values) foreach($b as $values2) foreach($c as values3) echo $values."".$values2."".$values3."\n";
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /in/vkPdL on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /in/vkPdL on line 8
Process exited with code 255.