3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
hai <?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 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
hai 15a 15b 15c 16a 16b 16c 25a 25b 25c 26a 26b 26c 35a 35b 35c 36a 36b 36c 45a 45b 45c 46a 46b 46c