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.0270.05320.15
7.0.10.0070.08720.09
7.0.00.0100.03720.05
5.6.170.0270.08020.71
5.6.160.0200.07020.54
5.6.150.0030.08318.29
5.6.140.0170.04718.28
5.6.130.0070.05018.14
5.6.120.0130.07721.01
5.6.110.0130.06320.98
5.6.100.0100.08321.13
5.6.90.0030.08321.10
5.6.80.0000.08720.41
5.5.310.0300.07720.23
5.5.300.0070.04017.98
5.5.290.0000.04318.02
5.5.280.0070.07720.89
5.5.270.0100.05320.94
5.5.260.0130.08020.95
5.5.250.0170.07020.70
5.5.240.0200.03320.33

preferences:
140.69 ms | 1394 KiB | 7 Q