3v4l.org

run code in 300+ PHP versions simultaneously
<?for($b=99;$b;$b--)echo"$b bottles of beer on the wall $b bottles of beer Took 1 down passed it around ".($b-1)." bottles of beer on the wall";

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)
8.3.60.0070.00718.31
8.3.50.0110.00721.13
8.3.40.0100.01018.54
8.3.30.0100.00318.93
8.3.20.0050.00220.21
8.3.10.0080.00023.64
8.3.00.0080.00019.38
8.2.180.0110.00416.61
8.2.170.0110.00422.96
8.2.160.0130.00720.09
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00422.09
8.2.110.0030.00622.38
8.2.100.0080.00417.63
8.2.90.0030.00619.18
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0000.00817.90
8.2.50.0040.00818.07
8.2.40.0090.00019.76
8.2.30.0070.00017.87
8.2.20.0000.00717.64
8.2.10.0000.00717.77
8.2.00.0040.00417.41
8.1.280.0140.00025.92
8.1.270.0000.00823.83
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00023.71
8.1.230.0110.00019.15
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00717.13
8.1.190.0030.00517.10
8.1.180.0040.00418.10
8.1.170.0000.00818.51
8.1.160.0030.00321.80
8.1.150.0020.00518.70
8.1.140.0050.00217.24
8.1.130.0000.00717.73
8.1.120.0070.00017.34
8.1.110.0030.00517.34
8.1.100.0000.00717.35
8.1.90.0000.00717.20
8.1.80.0070.00017.20
8.1.70.0030.00317.18
8.1.60.0060.00317.32
8.1.50.0030.00517.33
8.1.40.0040.00417.39
8.1.30.0040.00417.51
8.1.20.0050.00217.50
8.1.10.0050.00217.33
8.1.00.0040.00417.25
8.0.300.0030.00618.77
8.0.290.0000.00816.63
8.0.280.0000.00718.30
8.0.270.0070.00017.14
8.0.260.0030.00317.08
8.0.250.0040.00416.70
8.0.240.0030.00316.85
8.0.230.0000.00716.71
8.0.220.0070.00016.79
8.0.210.0000.00716.66
8.0.200.0030.00316.83
8.0.190.0040.00416.69
8.0.180.0030.00516.79
8.0.170.0050.00316.75
8.0.160.0040.00316.82
8.0.150.0030.00316.55
8.0.140.0030.00316.71
8.0.130.0030.00313.31
8.0.120.0040.00416.76
8.0.110.0030.00516.58
8.0.100.0000.00716.54
8.0.90.0050.00216.81
8.0.80.0090.00916.81
8.0.70.0070.00016.60
8.0.60.0050.00216.82
8.0.50.0000.00716.81
8.0.30.0110.01117.06
8.0.20.0130.01017.40
8.0.10.0040.00416.76
8.0.00.0100.00816.48
7.4.330.0030.00315.07
7.4.320.0030.00316.34
7.4.300.0030.00316.37
7.4.290.0070.00016.41
7.4.280.0070.00316.43
7.4.270.0070.00016.46
7.4.260.0050.00316.27
7.4.250.0070.00016.45
7.4.240.0050.00216.28
7.4.230.0000.00716.20
7.4.220.0090.01216.52
7.4.210.0110.00416.36
7.4.200.0000.00716.28
7.4.160.0080.01216.38
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0150.00616.41
7.4.120.0130.00416.44
7.4.110.0090.01216.41
7.4.100.0060.01716.36
7.4.90.0070.01016.31
7.4.80.0050.01219.39
7.4.70.0050.01116.32
7.4.60.0130.00316.13
7.4.50.0060.00316.29
7.4.40.0030.01416.50
7.4.30.0090.00816.24
7.4.00.0060.01014.48
7.3.330.0000.00513.25
7.3.320.0050.00013.23
7.3.310.0040.00416.09
7.3.300.0060.00016.05
7.3.290.0060.00816.16
7.3.280.0070.01116.12
7.3.270.0110.00717.40
7.3.260.0060.01216.21
7.3.250.0060.01116.47
7.3.240.0080.00816.28
7.3.230.0100.00716.39
7.3.210.0100.00716.50
7.3.200.0110.00719.39
7.3.190.0120.00616.17
7.3.180.0100.00616.18
7.3.170.0080.01416.32
7.3.160.0090.00616.21
7.2.330.0000.01716.43
7.2.320.0040.01716.21
7.2.310.0100.00716.55
7.2.300.0100.00716.61
7.2.290.0080.00816.34
7.2.00.0070.01019.16
7.1.100.0040.00818.04
7.1.70.0000.00817.13
7.1.60.0110.01119.11
7.1.50.0150.00617.05
7.1.00.0070.07322.48
7.0.200.0060.00316.57
7.0.140.0030.07322.18
7.0.60.0200.07020.07
7.0.50.0070.08017.83
7.0.40.0000.05019.90
7.0.30.0630.06020.13
7.0.20.0270.05020.00
7.0.10.0100.08320.09
7.0.00.0130.08320.21
5.6.280.0070.07321.13
5.6.210.0070.08020.48
5.6.200.0100.08018.17
5.6.190.0100.05720.45
5.6.180.0170.08020.58
5.6.170.0270.07720.38
5.6.160.0000.04320.40
5.6.150.0030.08018.12
5.6.140.0100.07718.21
5.6.130.0100.05718.20
5.6.120.0100.03721.02
5.6.110.0100.04021.13
5.6.100.0070.07721.01
5.6.90.0100.08020.93
5.6.80.0170.05020.30
5.6.70.4270.03320.49
5.5.350.0170.06020.52
5.5.340.0030.09017.98
5.5.330.0100.04020.21
5.5.320.0330.07020.18
5.5.310.0200.05320.15
5.5.300.0070.07317.92
5.5.290.0070.03717.88
5.5.280.0100.05020.84
5.5.270.0170.07320.88
5.5.260.0030.04020.64
5.5.250.0100.08720.68
5.5.240.0330.07020.18
5.4.450.0700.05719.61
5.4.440.0470.07019.27
5.4.430.0700.05319.63
5.4.420.0500.07319.27
5.4.410.0130.05019.39
5.4.400.0270.05718.91
5.4.390.0800.05719.29
5.4.380.0670.05719.16
5.4.370.0970.06019.10
5.4.360.0870.07318.78
5.4.350.0600.06019.28
5.4.340.0020.03911.96
5.4.320.0040.03812.45
5.4.310.0070.03712.45
5.4.300.0080.03712.45
5.4.290.0060.03912.45
5.4.280.0040.03812.35
5.4.270.0040.03812.34
5.4.260.0040.03912.35
5.4.250.0040.03912.34
5.4.240.0040.03712.35
5.4.230.0080.03612.34
5.4.220.0070.03512.34
5.4.210.0040.03812.34
5.4.200.0060.03812.34
5.4.190.0070.03612.33
5.4.180.0050.03712.34
5.4.170.0110.03112.34
5.4.160.0080.03312.34
5.4.150.0070.03412.34
5.4.140.0040.03912.02
5.4.130.0070.03412.01
5.4.120.0040.03611.97
5.4.110.0060.03511.96
5.4.100.0080.03311.96
5.4.90.0080.03511.97
5.4.80.0060.03611.96
5.4.70.0060.03311.96
5.4.60.0070.03411.96
5.4.50.0060.03611.96
5.4.40.0050.04511.95
5.4.30.0060.03511.95
5.4.20.0050.03611.95
5.4.10.0070.03411.95
5.4.00.0020.04011.43
5.3.290.0060.04412.80
5.3.280.0070.04312.71
5.3.270.0040.04612.72
5.3.260.0120.03712.72
5.3.250.0080.03512.72
5.3.240.0070.03612.72
5.3.230.0050.03812.71
5.3.220.0050.03712.68
5.3.210.0030.04112.68
5.3.200.0020.04112.68
5.3.190.0080.03512.67
5.3.180.0040.03812.68
5.3.170.0050.03712.67
5.3.160.0070.03412.68
5.3.150.0040.03812.68
5.3.140.0080.04412.66
5.3.130.0080.03612.66
5.3.120.0060.03812.66
5.3.110.0080.03612.66
5.3.100.0050.03812.12
5.3.90.0040.03712.08
5.3.80.0100.03112.07
5.3.70.0100.03412.08
5.3.60.0110.03412.07
5.3.50.0060.03612.00
5.3.40.0070.03512.00
5.3.30.0070.03311.94
5.3.20.0070.03411.72
5.3.10.0030.03711.68
5.3.00.0040.03811.67
5.2.170.0050.0309.17
5.2.160.0040.0299.18
5.2.150.0060.0299.17
5.2.140.0020.0339.17
5.2.130.0050.0289.13
5.2.120.0050.0289.13
5.2.110.0060.0279.14
5.2.100.0040.0289.14
5.2.90.0070.0279.13
5.2.80.0050.0299.13
5.2.70.0060.0339.13
5.2.60.0040.0359.09
5.2.50.0050.0299.05
5.2.40.0060.0309.03
5.2.30.0040.0319.00
5.2.20.0080.0309.00
5.2.10.0010.0318.91
5.2.00.0030.0338.77
5.1.60.0040.0248.05
5.1.50.0030.0258.05
5.1.40.0030.0258.04
5.1.30.0030.0268.39
5.1.20.0060.0248.41
5.1.10.0020.0278.13
5.1.00.0040.0258.13
5.0.50.0040.0196.61
5.0.40.0020.0206.47
5.0.30.0030.0316.28
5.0.20.0020.0206.25
5.0.10.0020.0216.23
5.0.00.0040.0296.22
4.4.90.0030.0154.77
4.4.80.0050.0134.76
4.4.70.0030.0154.75
4.4.60.0040.0144.75
4.4.50.0020.0164.77
4.4.40.0010.0274.71
4.4.30.0030.0154.76
4.4.20.0020.0164.85
4.4.10.0040.0144.85
4.4.00.0040.0234.75
4.3.110.0030.0154.67
4.3.100.0010.0164.66
4.3.90.0010.0164.63
4.3.80.0030.0244.58
4.3.70.0040.0124.63
4.3.60.0030.0144.63
4.3.50.0020.0164.63
4.3.40.0020.0244.54
4.3.30.0020.0153.28
4.3.20.0020.0153.25
4.3.10.0020.0153.22
4.3.00.0100.0237.11

preferences:
49.09 ms | 400 KiB | 5 Q