3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time0 = microtime(true); sleep(1); $time1 = microtime(true); sleep(2); $time2 = microtime(true); var_dump(1000*($time1-$time0), 1000*($time2-$time1));

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.1.70.0020.00516.60
7.1.60.0190.00419.33
7.1.50.0040.01016.61
7.1.00.0100.07022.26
7.0.200.0100.00016.49
7.0.140.0000.07322.11
7.0.100.0130.05019.95
7.0.90.0130.08319.89
7.0.80.0100.09019.89
7.0.70.0200.06719.96
7.0.60.0130.08019.96
7.0.50.0230.06320.31
7.0.40.0200.07020.15
7.0.30.0130.06019.98
7.0.20.0030.07320.05
7.0.10.0000.04720.17
7.0.00.0100.07720.00
5.6.250.0170.07020.72
5.6.240.0200.07320.66
5.6.230.0070.08020.66
5.6.220.0070.07720.49
5.6.210.0030.08320.64
5.6.200.0200.06721.08
5.6.190.0170.07721.03
5.6.180.0100.07321.11
5.6.170.0070.05321.05
5.6.160.0100.08020.93
5.6.150.0100.06320.96
5.6.140.0000.08721.07
5.6.130.0070.08721.13
5.6.120.0130.08321.07
5.6.110.0100.06321.04
5.6.100.0070.08720.94
5.6.90.0030.09020.92
5.6.80.0030.06720.41
5.6.70.0070.08020.44
5.6.60.0100.08020.30
5.6.50.0230.06320.46
5.6.40.0200.06720.40
5.6.30.0130.07720.35
5.6.20.0130.07720.46
5.6.10.0130.07320.41
5.6.00.0170.06720.40
5.5.380.0170.06720.42
5.5.370.0130.07020.56
5.5.360.0070.08720.38
5.5.350.0100.07720.45
5.5.340.0070.08720.76
5.5.330.0130.07320.92
5.5.320.0070.08020.92
5.5.310.0070.07020.83
5.5.300.0230.06720.91
5.5.290.0100.08720.80
5.5.280.0170.06320.88
5.5.270.0070.09020.82
5.5.260.0070.08720.93
5.5.250.0100.07720.69
5.5.240.0000.04320.11
5.5.230.0130.07320.29
5.5.220.0070.07320.20
5.5.210.0070.09020.29
5.5.200.0100.06320.18
5.5.190.0170.07020.25
5.5.180.0130.08020.07
5.5.160.0030.04320.18
5.5.150.0100.05320.26
5.5.140.0100.07720.07
5.5.130.0070.07720.25
5.5.120.0100.07720.16
5.5.110.0070.08020.07
5.5.100.0070.07720.12
5.5.90.0070.08020.10
5.5.80.0130.07719.93
5.5.70.0030.08020.06
5.5.60.0070.08020.14
5.5.50.0070.07020.00
5.5.40.0100.07020.04
5.5.30.0070.07720.07
5.5.20.0100.07719.99
5.5.10.0070.07020.05
5.5.00.0070.08020.05
5.4.450.0070.08719.23
5.4.440.0070.08019.30
5.4.430.0070.08319.23
5.4.420.0070.07719.20
5.4.410.0070.07319.07
5.4.400.0070.07718.72
5.4.390.0070.07018.92
5.4.380.0170.06318.98
5.4.370.0100.07018.88
5.4.360.0070.07318.97
5.4.350.0130.07318.81
5.4.340.0130.06718.97
5.4.320.0000.04018.75
5.4.310.0100.07718.91
5.4.300.0100.06318.97
5.4.290.0070.07018.87
5.4.280.0070.07718.95
5.4.270.0100.06718.91
5.4.260.0170.06318.81
5.4.250.0030.08318.76
5.4.240.0030.08019.07
5.4.230.0130.07318.96
5.4.220.0070.06718.96
5.4.210.0070.03318.87
5.4.200.0100.07318.87
5.4.190.0070.06718.90
5.4.180.0070.08718.70
5.4.170.0070.07718.96
5.4.160.0030.07718.89
5.4.150.0100.07018.96
5.4.140.0170.06016.34
5.4.130.0100.07016.13
5.4.120.0070.07016.33
5.4.110.0130.04316.16
5.4.100.0070.05016.25
5.4.90.0030.06716.40
5.4.80.0070.06316.26
5.4.70.0130.06316.39
5.4.60.0070.06316.23
5.4.50.0070.07716.30
5.4.40.0070.06316.21
5.4.30.0100.06016.19
5.4.20.0170.06716.16
5.4.10.0100.06716.20
5.4.00.0070.05715.71
5.3.290.0030.03714.44
5.3.280.0130.06714.28
5.3.270.0030.08314.30
5.3.260.0070.06714.29
5.3.250.0030.07714.23
5.3.240.0100.06714.30
5.3.230.0130.07014.39
5.3.220.0130.06714.40
5.3.210.0070.07714.40
5.3.200.0000.06714.34
5.3.190.0030.08314.41
5.3.180.0130.05714.39
5.3.170.0070.07014.20
5.3.160.0100.06714.39
5.3.150.0070.07014.27
5.3.140.0100.06714.24
5.3.130.0070.06714.23
5.3.120.0030.08314.38
5.3.110.0130.06714.28
5.3.100.0070.07313.88
5.3.90.0100.03713.79
5.3.80.0100.06013.75
5.3.70.0000.05713.79
5.3.60.0100.03313.69
5.3.50.0070.07013.64
5.3.40.0070.07313.77
5.3.30.0030.07313.65
5.3.20.0100.06313.52
5.3.10.0200.05713.45
5.3.00.0170.06713.24
5.2.170.0100.05710.81
5.2.160.0100.05010.82
5.2.150.0030.06310.82
5.2.140.0030.06010.75
5.2.130.0030.06710.97
5.2.120.0030.06010.71
5.2.110.0130.04710.79
5.2.100.0030.06010.91
5.2.90.0100.06010.92
5.2.80.0070.06010.78
5.2.70.0030.05310.82
5.2.60.0070.06010.81
5.2.50.0030.03310.69
5.2.40.0070.05710.86
5.2.30.0070.03010.66
5.2.20.0030.06310.64
5.2.10.0070.04310.74
5.2.00.0030.04710.60
5.1.60.0030.0539.82
5.1.50.0030.0509.79
5.1.40.0030.0439.67
5.1.30.0070.05010.15
5.1.20.0070.05710.02
5.1.10.0100.0509.86
5.1.00.0070.0539.82
5.0.50.0070.0478.90
5.0.40.0030.0438.90
5.0.30.0030.0338.90
5.0.20.0100.0208.90
5.0.10.0070.0378.90
5.0.00.0000.0678.90
4.4.90.0070.03010.02
4.4.80.0000.03710.02
4.4.70.0100.03010.02
4.4.60.0030.03710.02
4.4.50.0070.03310.02
4.4.40.0000.0538.90
4.4.30.0070.0308.90
4.4.20.0030.0338.90
4.4.10.0030.0378.90
4.4.00.0030.0508.90
4.3.110.0000.0378.90
4.3.100.0000.0338.90
4.3.90.0000.0378.90
4.3.80.0000.0578.90
4.3.70.0030.0278.90
4.3.60.0030.0338.90
4.3.50.0100.0278.90
4.3.40.0030.0508.90
4.3.30.0030.0378.90
4.3.20.0030.0378.90
4.3.10.0000.0308.90
4.3.00.0070.0338.90

preferences:
32.63 ms | 400 KiB | 5 Q