<?php
$array=Array
(
"1" => "Accounting & Financial",
"2" => "Advertising Services",
"3" => "Awards & Incentives",
"4" => "Business Consultants",
"5" => "Career Services",
"6" => "Creative Services",
"7" => "Data Management",
"8" => "Distributors & Agents"
) ;
$arr = Array
(
"0" => Array
(
"id" => "1"
"category" => "Accounting & Financial"
)
"1" => Array
(
"id" => 2
"category" => "Advertising Services"
)
);
- Output for 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '"category"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/1NFbN on line 19
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/1NFbN on line 19
Process exited with code 255.
preferences:
180.9 ms | 1386 KiB | 62 Q