3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr=array("旅游","汽车","电商","财经","奢侈品","电子银行","社交社区","游戏","运动健身","新闻","娱乐","体育","时尚","彩票","餐饮美食","阅读","外卖团购"); $id=1; froeach($arr as $a){ echo '"'.$id.'","'.$a.'","'.'""'; $id++; }
based on vS5m2
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.4.10 - 5.6.16
Parse error: syntax error, unexpected 'as' (T_AS) in /in/QuvqZ on line 4
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_AS in /in/QuvqZ on line 4
Process exited with code 255.