<?php
$mktList = "ama,pmi,cdi,fna";
$mktList_arr = explode(",",$mktList);
var_export($mktList_arr);
foreach($mktList_arr as $a){
$$a = 'bzp';
echo $cdi$a."__";
}
?>
- Output for 5.4.0 - 5.4.23
- Parse error: syntax error, unexpected '$a' (T_VARIABLE), expecting ',' or ';' in /in/Ls2hk on line 9
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /in/Ls2hk on line 9
Process exited with code 255.
preferences:
197.41 ms | 1399 KiB | 60 Q