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){ if(is_array($array)) { foreach($array as $value) { makeCombinations($array); } } els { } }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '{' in /in/J1ZDG on line 13
Process exited with code 255.

preferences:
212.82 ms | 1395 KiB | 62 Q