3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(1); sleep(2); echo 123; register_shutdown_function(function(){ sleep(2); echo time()-$_REQUEST["REQUEST_TIME"]; });

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.2.00.0040.00819.31
7.1.100.0040.00818.07
7.1.70.0040.00416.64
7.1.60.0070.01419.32
7.1.50.0140.01034.61
7.1.00.0030.07322.39
7.0.200.0040.00416.77
7.0.140.0000.07722.09
7.0.100.0170.08019.94
7.0.90.0200.07319.95
7.0.80.0100.03719.99
7.0.70.0100.08319.93
7.0.60.0130.08319.98
7.0.50.0170.08320.25
7.0.40.0070.08320.15
7.0.30.0030.05020.16
7.0.20.0230.06720.13
7.0.10.0170.06020.07
7.0.00.0070.08720.12
5.6.280.0100.06721.08
5.6.250.0100.08320.68
5.6.240.0100.08020.50
5.6.230.0100.05720.69
5.6.220.0070.08320.62
5.6.210.0200.06320.62
5.6.200.0100.08021.04
5.6.190.0100.07021.11
5.6.180.0030.08021.01
5.6.170.0100.05721.07
5.6.160.0070.09020.98
5.6.150.0130.07321.02
5.6.140.0100.08021.00
5.6.130.0130.06321.03
5.6.120.0070.07721.04
5.6.110.0130.07721.04
5.6.100.0070.07720.97
5.6.90.0130.06321.00
5.6.80.0030.05320.35
5.6.70.0170.06320.49
5.6.60.0030.07020.41
5.6.50.0200.07020.34
5.6.40.0100.07320.38
5.6.30.0070.08020.47
5.6.20.0070.03720.52
5.6.10.0030.04320.38
5.6.00.0100.04320.47
5.5.380.0130.07020.34
5.5.370.0100.03320.56
5.5.360.0100.07720.39
5.5.350.0030.07720.44
5.5.340.0100.07020.84
5.5.330.0170.06320.79
5.5.320.0000.04320.78
5.5.310.0130.05320.91
5.5.300.0130.06720.86
5.5.290.0200.06020.82
5.5.280.0070.08320.80
5.5.270.0100.07720.89
5.5.260.0070.06720.86
5.5.250.0030.04020.61
5.5.240.0100.04320.16
5.5.230.0100.06020.02
5.5.220.0100.06720.30
5.5.210.0100.07720.20
5.5.200.0130.07320.19
5.5.190.0070.06720.27
5.5.180.0170.07320.18
5.5.160.0030.07320.08
5.5.150.0030.08320.22
5.5.140.0170.07020.12
5.5.130.0030.07720.09
5.5.120.0170.06720.11
5.5.110.0070.07720.20
5.5.100.0100.07720.08
5.5.90.0100.08019.97
5.5.80.0100.06720.09
5.5.70.0170.07319.93
5.5.60.0030.05020.11
5.5.50.0070.05720.00
5.5.40.0170.07019.95
5.5.30.0100.07020.15
5.5.20.0100.07719.93
5.5.10.0030.08320.07
5.5.00.0070.05020.02
5.4.450.0070.08719.25
5.4.440.0030.08719.42
5.4.430.0100.06719.25
5.4.420.0030.08019.14
5.4.410.0030.04018.98
5.4.400.0030.07018.88
5.4.390.0130.07018.88
5.4.380.0070.04318.93
5.4.370.0030.07718.88
5.4.360.0100.06718.92
5.4.350.0070.08018.79
5.4.340.0270.05718.95
5.4.320.0100.04719.14
5.4.310.0170.06319.04
5.4.300.0070.08318.95
5.4.290.0100.06018.99
5.4.280.0100.03319.05
5.4.270.0030.08018.83
5.4.260.0070.04318.88
5.4.250.0170.06019.03
5.4.240.0130.07318.96
5.4.230.0100.07318.95
5.4.220.0070.03318.95
5.4.210.0100.06718.96
5.4.200.0100.07318.92
5.4.190.0230.06018.95
5.4.180.0130.07018.95
5.4.170.0070.07018.89
5.4.160.0100.07719.02
5.4.150.0100.07318.94
5.4.140.0070.07016.39
5.4.130.0030.07316.39
5.4.120.0270.05716.39
5.4.110.0100.07316.39
5.4.100.0070.07716.45
5.4.90.0030.07016.34
5.4.80.0070.06716.42
5.4.70.0030.05716.29
5.4.60.0170.06316.45
5.4.50.0130.03716.23
5.4.40.0000.03716.38
5.4.30.0070.03316.33
5.4.20.0130.06016.29
5.4.10.0030.08016.37
5.4.00.0130.06715.63

preferences:
33.79 ms | 401 KiB | 5 Q