3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 'A' => array(1, 2, 3, 4), 'B' => array(5, 6), 'C' => array('a', 'b', 'c')); function makeCombinations($array){ foreach($array as $value){makeCombinations($array) } }
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected '}' in /in/DueM3 on line 6
Process exited with code 255.