3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array(0=>1); $arr2 = array(0=>2); $resultArray = array_merge ($arr1, $arr2); $result = array(); foreach ($array1 as $subarray) { $result = array_merge($result, $subarray) }
Output for 5.3.0 - 5.4.9
Parse error: syntax error, unexpected '}' in /in/0qghP on line 9
Process exited with code 255.