3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = microtime(true); $b = 1000 >> 2; $c = microtime(true); echo $c - $a."\n"; $a = microtime(true); $b = 1000 / 4; $c = microtime(true); echo $c - $a."\n";

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.4.00.0030.01414.95
7.3.120.0100.00614.80
7.3.110.0060.01214.90
7.3.100.0060.00914.88
7.3.90.0060.00714.60
7.3.80.0060.00714.71
7.3.70.0070.00514.69
7.3.60.0070.00814.75
7.3.50.0060.01014.74
7.3.40.0080.00714.75
7.3.30.0060.00714.72
7.3.20.0100.00516.60
7.3.10.0060.00916.58
7.3.00.0070.00816.55
7.2.250.0070.01114.71
7.2.240.0060.01015.11
7.2.230.0030.01014.77
7.2.220.0090.00714.74
7.2.210.0050.01114.99
7.2.200.0050.00914.92
7.2.190.0020.01214.81
7.2.180.0050.00714.94
7.2.170.0020.01115.10
7.2.160.0070.01115.03
7.2.150.0060.00917.02
7.2.140.0030.01316.93
7.2.130.0120.00617.00
7.2.120.0080.00516.63
7.2.110.0060.01016.72
7.2.100.0000.01516.74
7.2.90.0070.01116.60
7.2.80.0070.00716.64
7.2.70.0060.00916.73
7.2.60.0000.01616.88
7.2.50.0060.00916.88
7.2.40.0030.01216.84
7.2.30.0060.01216.90
7.2.20.0130.00316.97
7.2.10.0030.01217.01
7.2.00.0050.00918.13
7.1.330.0010.01015.77
7.1.320.0070.00815.67
7.1.310.0050.00915.59
7.1.300.0070.00615.68
7.1.290.0110.00415.65
7.1.280.0080.00415.56
7.1.270.0030.00915.77
7.1.260.0040.00915.65
7.1.250.0100.00715.81
7.1.70.0000.01016.86
7.1.60.0100.01319.11
7.1.50.0070.00416.86
7.1.00.0000.08022.48
7.0.200.0030.00616.46
7.0.140.0070.06721.95
7.0.110.0670.07319.91
7.0.100.0500.04720.09
7.0.90.0600.07720.02
7.0.80.0600.07020.05
7.0.70.0530.03019.96
7.0.60.0630.08020.04
7.0.50.0400.04719.91
7.0.40.0100.07319.60
7.0.30.0100.08719.75
7.0.20.0100.07719.68
7.0.10.0100.04019.74
7.0.00.0070.08319.70
5.6.280.0000.07721.06
5.6.260.0100.04720.58
5.6.250.0030.06720.68
5.6.240.0100.08020.66
5.6.230.0130.07320.46
5.6.220.0070.03720.67
5.6.210.0100.08020.63
5.6.200.0030.05020.64
5.6.190.0100.08020.67
5.6.180.0070.08020.66
5.6.170.0100.04320.66
5.6.160.0130.07020.63
5.6.150.0070.08020.63
5.6.140.0100.08020.64
5.6.130.0000.08320.84
5.6.120.0100.04720.69
5.6.110.0230.05320.54
5.6.100.0070.08720.81
5.6.90.0070.08720.44
5.6.80.0100.08319.99
5.6.70.0130.07319.92
5.6.60.0070.04019.97
5.6.50.0070.07719.94
5.6.40.0130.07320.04
5.6.30.0070.05019.96
5.6.20.0070.03719.90
5.6.10.0130.06020.00
5.6.00.0030.07019.90
5.5.380.0070.07717.68
5.5.370.0100.06017.54
5.5.360.0030.05017.52
5.5.350.0130.05317.66
5.5.340.0100.05017.77
5.5.330.0100.08018.16
5.5.320.0030.07018.16
5.5.310.0070.08018.25
5.5.300.0030.07018.16
5.5.290.0100.07318.12
5.5.280.0100.07318.09
5.5.270.0030.07718.09
5.5.260.0070.07718.01
5.5.250.0100.07717.80
5.5.240.0170.06317.48
5.5.230.0030.08717.24
5.5.220.0000.04717.14
5.5.210.0100.07317.56
5.5.200.0030.07317.25
5.5.190.0070.07717.45
5.5.180.0100.07317.54
5.5.160.0170.06317.60
5.5.150.0030.06017.20
5.5.140.0070.07717.44
5.5.130.0030.04017.19
5.5.120.0030.04717.45
5.5.110.0130.07017.49
5.5.100.0030.05017.12
5.5.90.0000.05017.50
5.5.80.0070.07317.41
5.5.70.0070.05017.10
5.5.60.0070.07717.15
5.5.50.0130.06317.34
5.5.40.0100.07717.09
5.5.30.0170.06317.40
5.5.20.0100.05017.50
5.5.10.0130.06717.40
5.5.00.0030.04717.07
5.4.450.0070.07319.61
5.4.440.0130.04719.42
5.4.430.0130.06019.50
5.4.420.0000.08719.40
5.4.410.0070.07719.22
5.4.400.0100.04719.08
5.4.390.0070.07319.00
5.4.380.0100.07019.16
5.4.370.0070.04019.04
5.4.360.0100.07018.98
5.4.350.0130.07319.13
5.4.340.0070.08019.03
5.4.320.0230.03719.03
5.4.310.0130.07318.95
5.4.300.0170.06719.16
5.4.290.0070.04319.02
5.4.280.0030.08019.16
5.4.270.0070.07718.99
5.4.260.0170.05319.30
5.4.250.0030.03719.02
5.4.240.0070.04719.01
5.4.230.0070.04018.95
5.4.220.0070.06018.94
5.4.210.0100.05718.95
5.4.200.0030.07719.07
5.4.190.0030.06719.02
5.4.180.0030.07718.99
5.4.170.0070.07318.97
5.4.160.0000.04318.91
5.4.150.0030.07019.00
5.4.140.0100.03716.27
5.4.130.0070.07316.27
5.4.120.0030.07316.20
5.4.110.0030.07716.38
5.4.100.0100.07316.41
5.4.90.0070.07016.38
5.4.80.0030.05716.27
5.4.70.0030.07316.51
5.4.60.0070.07016.38
5.4.50.0100.07016.34
5.4.40.0070.04016.51
5.4.30.0070.06716.50
5.4.20.0100.04716.25
5.4.10.0100.07316.37
5.4.00.0000.05015.79
5.3.290.0030.08014.55
5.3.280.0170.03314.48
5.3.270.0030.06714.54
5.3.260.0130.06314.46
5.3.250.0030.07714.50
5.3.240.0130.06314.67
5.3.230.0070.06014.54
5.3.220.0070.07714.43
5.3.210.0070.08014.58
5.3.200.0030.07014.45
5.3.190.0130.06314.59
5.3.180.0030.05714.42
5.3.170.0100.04014.40
5.3.160.0130.07014.40
5.3.150.0070.04014.66
5.3.140.0030.06314.65
5.3.130.0130.03714.60
5.3.120.0070.07714.55
5.3.110.0200.06014.64
5.3.100.0130.06313.90
5.3.90.0070.07314.03
5.3.80.0170.05713.88
5.3.70.0100.06713.95
5.3.60.0030.04014.07
5.3.50.0070.06013.88
5.3.40.0100.06713.87
5.3.30.0100.06713.80
5.3.20.0030.07713.47
5.3.10.0070.07013.73
5.3.00.0070.07013.58
5.2.170.0070.04312.08
5.2.160.0100.02712.08
5.2.150.0100.05312.08
5.2.140.0130.04312.08
5.2.130.0070.06312.08
5.2.120.0000.07012.08
5.2.110.0100.02712.08
5.2.100.0030.03312.08
5.2.90.0130.04312.08
5.2.80.0030.05012.08
5.2.70.0000.03312.08
5.2.60.0100.02312.08
5.2.50.0030.06312.08
5.2.40.0070.05712.08
5.2.30.0000.06712.08
5.2.20.0170.02312.08
5.2.10.0030.06012.08
5.2.00.0070.05012.08
5.1.60.0100.05012.08
5.1.50.0130.05012.08
5.1.40.0100.04712.08
5.1.30.0100.04012.08
5.1.20.0070.03312.08
5.1.10.0030.05312.08
5.1.00.0070.04712.08
5.0.50.0030.03712.08
5.0.40.0030.03312.08
5.0.30.0030.05312.08
5.0.20.0000.02712.08
5.0.10.0070.04012.08
5.0.00.0000.04012.08
4.4.90.0000.01712.08
4.4.80.0030.03312.08
4.4.70.0000.04012.08
4.4.60.0030.03312.08
4.4.50.0030.03012.08
4.4.40.0000.05312.08
4.4.30.0100.02712.08
4.4.20.0000.03312.08
4.4.10.0070.03012.08
4.4.00.0030.02712.08
4.3.110.0000.02012.08
4.3.100.0000.03712.08
4.3.90.0030.02012.08
4.3.80.0030.05312.08
4.3.70.0000.03712.08
4.3.60.0030.03712.08
4.3.50.0070.03012.08
4.3.40.0030.02712.08
4.3.30.0000.03012.08
4.3.20.0000.03312.08
4.3.10.0000.02012.08
4.3.00.0070.03012.08

preferences:
37.11 ms | 401 KiB | 5 Q