<?php
$arr=array("旅游","汽车","电商","财经","奢侈品","电子银行","社交社区","游戏","运动健身","新闻","娱乐","体育","时尚","彩票","餐饮美食","阅读","外卖团购");
$id=1;
froeach($arr as $a){
echo '"'.$id.'","'.$a.'","'.'""';
$id++;
}
- Output for 7.0.0
- Parse error: syntax error, unexpected 'as' (T_AS), expecting ',' or ')' in /in/QuvqZ on line 4
Process exited with code 255. - Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Parse error: syntax error, unexpected 'as' (T_AS) in /in/QuvqZ on line 4
Process exited with code 255.
preferences:
163 ms | 1395 KiB | 24 Q