The following is not allowed (simplified for this forum): but it seems
reasonable to me. Could some one explain mw lack of insight?
$t = (array(1=>"Sold ", 3=>"Transit"))[$location_id];
Parse error: parse error, unexpected '[' in
/var/www/html/GEM-is/batchJobs/sales.php on line 183
reasonable to me. Could some one explain mw lack of insight?
$t = (array(1=>"Sold ", 3=>"Transit"))[$location_id];
Parse error: parse error, unexpected '[' in
/var/www/html/GEM-is/batchJobs/sales.php on line 183
Comment