3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $arr[5] = array ( "ID" => 3123, "IS_NEW" => 1, "OrgType" => 5, "Surname" => 'Сабиров', "Name" => 'Раиль', "Patronymic" => 'Анварович', ); $arr[6] = array ( "ID" => 3124 "IS_NEW" => 1 "OrgType" => 5 "Surname" => "Сабиров", "Name" => "Раиль", "Patronymic" => "Анварович"; ) print_r($arr);
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '"IS_NEW"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/atDkT on line 16
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/atDkT on line 16
Process exited with code 255.