3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array1 = array("here","we","go"); $array1[2] = 'go'; $array1[1] = 'we'; $array1[0] = 'here'; $array2 = array('here'); $array2[2] = 'go'; $array2[1] = 'we'; $array2[0] = 'here'; $str1 = implode(',',$array1); $str2 = implode(',',$array2); print:r($array1); print:r($array2);
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected ':' in /in/nuRAp on line 15
Process exited with code 255.