3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array("旅游"","汽车","电商","财经","奢侈品","电子银行","社交社区","游戏","运动健身","新闻","娱乐","体育","时尚","彩票","餐饮美食","阅读","外卖团购"); $id=1; froeach($arr=>$a){ echo '"'.$id.'","'.$a.'","'.'""'; $id++; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.00.0100.08320.33
5.6.160.0070.05320.52
5.6.150.0070.08018.19
5.6.140.0130.07318.20
5.6.130.0100.07718.23
5.6.120.0100.08321.01
5.6.110.0100.08020.95
5.6.100.0070.07321.13
5.6.90.0100.07321.01
5.6.80.0100.07720.41
5.5.300.0000.04317.94
5.5.290.0000.08017.92
5.5.280.0000.09320.94
5.5.270.0070.08720.76
5.5.260.0100.04320.82
5.5.250.0200.07320.46
5.5.240.0170.08020.12

preferences:
140.69 ms | 1394 KiB | 7 Q