3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = microtime(true); $b = 1000 >> 2; $c = microtime(true); echo $a - $c."\n"; $a = microtime(true); $b = 1000 / 4; $c = microtime(true); echo $a - $c."\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.0090.00915.07
7.3.120.0000.01814.71
7.3.110.0100.01014.75
7.3.100.0000.01814.82
7.3.90.0080.00814.74
7.3.80.0000.01314.81
7.3.70.0090.00614.85
7.3.60.0080.00414.67
7.3.50.0030.01414.82
7.3.40.0060.00914.88
7.3.30.0060.00814.61
7.3.20.0080.00816.32
7.3.10.0100.00716.38
7.3.00.0100.00716.41
7.2.250.0100.01014.75
7.2.240.0040.01114.88
7.2.230.0070.01015.21
7.2.220.0080.00814.93
7.2.210.0100.00715.14
7.2.200.0040.01215.11
7.2.190.0030.01015.13
7.2.180.0030.01014.92
7.2.170.0060.00815.04
7.2.130.0100.01016.22
7.2.120.0230.00416.98
7.2.110.0090.01216.30
7.2.100.0110.01116.46
7.2.90.0090.01416.33
7.2.80.0130.01116.20
7.2.70.0220.00816.74
7.2.60.0180.00716.68
7.2.50.0100.01016.08
7.2.40.0180.00916.68
7.2.30.0090.00916.22
7.2.20.0090.00616.04
7.2.10.0170.00016.55
7.2.00.0070.00618.12
7.1.330.0060.00615.45
7.1.320.0040.00415.66
7.1.310.0060.00615.72
7.1.300.0070.00315.74
7.1.290.0090.00615.77
7.1.280.0100.00315.91
7.1.270.0080.00415.50
7.1.260.0090.00315.78
7.1.250.0120.00815.00
7.1.70.0000.00817.31
7.1.60.0070.01719.11
7.1.50.0160.00716.70
7.1.00.0070.07322.54
7.0.200.0070.00016.91
7.0.140.0070.07022.15
7.0.60.0030.07320.02
7.0.50.0130.05317.84
7.0.40.0000.05320.19
7.0.30.0200.05020.17
7.0.20.0270.07720.17
7.0.10.0000.09320.16
7.0.00.0100.07320.03
5.6.280.0000.07721.04
5.6.210.0030.04020.69
5.6.200.0200.07018.22
5.6.190.0070.04320.60
5.6.180.0270.05020.61
5.6.170.0400.07320.46
5.6.160.0030.04020.50
5.6.150.0070.03718.13
5.6.140.0070.03318.14
5.6.130.0070.06718.15
5.6.120.0030.05320.98
5.6.110.0200.06721.13
5.6.100.0100.07720.99
5.6.90.0200.04321.09
5.6.80.0030.04720.43
5.6.70.4430.03720.36
5.5.350.0070.04720.48
5.5.340.0070.07717.86
5.5.330.0070.08320.15
5.5.320.0300.05020.29
5.5.310.0400.07720.28
5.5.300.0070.04317.93
5.5.290.0100.05017.92
5.5.280.0030.04020.80
5.5.270.0070.06020.85
5.5.260.0000.08020.66
5.5.250.0100.08320.54
5.5.240.0300.06720.16
5.4.450.0800.06019.11
5.4.440.0700.06719.63
5.4.430.0630.05719.43
5.4.420.0800.07019.46
5.4.410.0830.05319.39
5.4.400.0530.06019.09
5.4.390.0700.05719.09
5.4.380.0670.05719.13
5.4.370.0600.06319.26
5.4.360.0630.05019.31
5.4.350.0800.04319.30
5.4.340.0080.03211.96
5.4.320.0060.04012.45
5.4.310.0070.03912.45
5.4.300.0070.04012.45
5.4.290.0080.03712.45
5.4.280.0060.03612.35
5.4.270.0060.03912.35
5.4.260.0050.03912.34
5.4.250.0060.03812.35
5.4.240.0020.04412.34
5.4.230.0040.04112.34
5.4.220.0060.03712.34
5.4.210.0050.03612.34
5.4.200.0040.03912.34
5.4.190.0040.03812.33
5.4.180.0090.04012.33
5.4.170.0050.03712.35
5.4.160.0070.03512.34
5.4.150.0090.03712.34
5.4.140.0060.03812.02
5.4.130.0060.03512.01
5.4.120.0030.04111.97
5.4.110.0060.03611.96
5.4.100.0050.03811.96
5.4.90.0090.03711.96
5.4.80.0100.03311.96
5.4.70.0060.03411.96
5.4.60.0060.03411.96
5.4.50.0030.03711.96
5.4.40.0050.03511.95
5.4.30.0060.03911.95
5.4.20.0080.03611.95
5.4.10.0050.03811.95
5.4.00.0070.03711.44
5.3.290.0110.04312.80
5.3.280.0070.04312.71
5.3.270.0070.03712.72
5.3.260.0060.04312.72
5.3.250.0050.04212.72
5.3.240.0060.03812.72
5.3.230.0040.04212.71
5.3.220.0070.03712.68
5.3.210.0110.03512.68
5.3.200.0050.03812.68
5.3.190.0050.03812.68
5.3.180.0080.03512.68
5.3.170.0060.03712.66
5.3.160.0080.04012.68
5.3.150.0080.03812.67
5.3.140.0060.03712.66
5.3.130.0040.04312.65
5.3.120.0100.03612.66
5.3.110.0070.03912.66
5.3.100.0090.03412.12
5.3.90.0040.03912.09
5.3.80.0020.04212.07
5.3.70.0060.03712.07
5.3.60.0060.03912.06
5.3.50.0070.03512.00
5.3.40.0070.03612.00
5.3.30.0070.03411.95
5.3.20.0110.03111.73
5.3.10.0040.04011.69
5.3.00.0060.03711.68
5.2.170.0040.0329.18
5.2.160.0060.0319.18
5.2.150.0070.0289.18
5.2.140.0050.0309.18
5.2.130.0060.0279.14
5.2.120.0050.0279.14
5.2.110.0060.0309.15
5.2.100.0080.0279.14
5.2.90.0050.0299.14
5.2.80.0040.0309.14
5.2.70.0040.0309.14
5.2.60.0050.0309.09
5.2.50.0030.0339.06
5.2.40.0060.0279.04
5.2.30.0060.0299.01
5.2.20.0070.0319.00
5.2.10.0040.0318.95
5.2.00.0050.0308.81
5.1.60.0040.0278.10
5.1.50.0040.0258.09
5.1.40.0020.0278.07
5.1.30.0040.0288.42
5.1.20.0030.0358.45
5.1.10.0050.0258.17
5.1.00.0050.0268.17
5.0.50.0050.0196.65
5.0.40.0030.0196.51
5.0.30.0030.0326.32
5.0.20.0060.0166.29
5.0.10.0050.0196.27
5.0.00.0050.0326.25
4.4.90.0020.0174.78
4.4.80.0010.0184.75
4.4.70.0040.0154.75
4.4.60.0010.0184.75
4.4.50.0010.0204.77
4.4.40.0020.0264.71
4.4.30.0020.0164.76
4.4.20.0030.0154.85
4.4.10.0040.0154.84
4.4.00.0040.0304.76
4.3.110.0020.0164.67
4.3.100.0040.0154.66
4.3.90.0020.0184.63
4.3.80.0010.0264.59
4.3.70.0020.0194.63
4.3.60.0030.0184.63
4.3.50.0020.0164.63
4.3.40.0040.0224.54
4.3.30.0040.0173.33
4.3.20.0020.0173.31
4.3.10.0020.0173.27
4.3.00.0100.0237.11

preferences:
40.15 ms | 401 KiB | 5 Q