3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = (4, 5, 1=>'hello'); var_dump($arr);

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.0030.05020.24
5.6.160.0100.05320.55
5.6.150.0100.07718.18
5.6.140.0070.05318.19
5.6.130.0070.04318.18
5.6.120.0030.04021.00
5.6.110.0070.08320.98
5.6.100.0100.07720.97
5.6.90.0100.03721.12
5.6.80.0070.08320.53
5.5.300.0070.08017.95
5.5.290.0100.07717.97
5.5.280.0030.04720.79
5.5.270.0100.04020.86
5.5.260.0100.05020.67
5.5.250.0130.07320.77
5.5.240.4000.03720.06

preferences:
141.21 ms | 1394 KiB | 7 Q