3v4l.org

run code in 300+ PHP versions simultaneously
<?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.3.28, 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '}' in /in/DueM3 on line 6
Process exited with code 255.

preferences:
188.41 ms | 1395 KiB | 62 Q