3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (count(array() > 2) { echo "Your test is broken"; } else { echo "Good job, Pascal"; }

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.20.0330.07720.06
7.0.10.0170.08320.22
7.0.00.0100.03720.20
5.6.170.0230.04720.45
5.6.160.0070.05020.44
5.6.150.0170.06718.23
5.6.140.0130.04018.23
5.6.130.0100.04018.15
5.6.120.0070.08021.00
5.6.110.0070.08721.09
5.6.100.0170.07720.95
5.6.90.0030.08721.09
5.6.80.0000.09020.33
5.5.310.0200.04320.34
5.5.300.0100.07318.09
5.5.290.0000.04317.96
5.5.280.0070.08020.76
5.5.270.0000.05720.79
5.5.260.0100.08320.86
5.5.250.0100.07020.77
5.5.240.0230.04720.15

preferences:
142.19 ms | 1394 KiB | 7 Q