3v4l.org

run code in 300+ PHP versions simultaneously
<?for($b=99,$a=' bottles of beer',$c=' on the wall';$b;$b--)echo"$b$a$c, $b".($b==1?" bottle of beer.Go to the store and buy some more, 99$a$c":"$a.Take one down and pass it around, ".($b-1)."$a$c").".";

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.40.0110.00718.71
8.3.30.0100.00318.83
8.3.20.0000.00719.98
8.3.10.0080.00023.66
8.3.00.0040.00419.38
8.2.170.0070.00722.96
8.2.160.0090.00920.52
8.2.150.0020.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00722.19
8.2.110.0060.00321.10
8.2.100.0110.00017.59
8.2.90.0050.00317.78
8.2.80.0000.00717.97
8.2.70.0040.00417.93
8.2.60.0070.00317.93
8.2.50.0070.00318.10
8.2.40.0000.00820.38
8.2.30.0040.00417.91
8.2.20.0000.00717.45
8.2.10.0000.00717.88
8.2.00.0070.00017.54
8.1.270.0030.00621.80
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00323.83
8.1.230.0070.00420.90
8.1.220.0030.00617.74
8.1.210.0000.00818.82
8.1.200.0000.00817.22
8.1.190.0000.01117.10
8.1.180.0000.00818.10
8.1.170.0030.00618.41
8.1.160.0040.00421.99
8.1.150.0000.00718.68
8.1.140.0030.00517.36
8.1.130.0030.00517.70
8.1.120.0070.00017.36
8.1.110.0000.00717.34
8.1.100.0000.00717.36
8.1.90.0030.00317.20
8.1.80.0030.00317.20
8.1.70.0000.00717.28
8.1.60.0030.00617.41
8.1.50.0080.00017.38
8.1.40.0050.00217.25
8.1.30.0030.00517.35
8.1.20.0040.00417.47
8.1.10.0060.00317.49
8.1.00.0020.00517.35
8.0.300.0050.00320.02
8.0.290.0090.00016.63
8.0.280.0030.00318.41
8.0.270.0000.00717.19
8.0.260.0000.00717.08
8.0.250.0040.00416.86
8.0.240.0000.00716.70
8.0.230.0030.00316.76
8.0.220.0000.00616.75
8.0.210.0000.00716.72
8.0.200.0030.00316.67
8.0.190.0020.00516.69
8.0.180.0040.00416.73
8.0.170.0030.00616.60
8.0.160.0040.00416.71
8.0.150.0030.00316.70
8.0.140.0050.00316.72
8.0.130.0000.00713.32
8.0.120.0000.00716.72
8.0.110.0070.00016.77
8.0.100.0000.00716.56
8.0.90.0040.00416.79
8.0.80.0070.01316.71
8.0.70.0000.00716.70
8.0.60.0070.00016.72
8.0.50.0030.00316.63
8.0.30.0130.00816.96
8.0.20.0060.01217.40
8.0.10.0030.00516.87
8.0.00.0110.00816.59
7.4.330.0050.00015.07
7.4.320.0030.00316.46
7.4.300.0030.00316.44
7.4.290.0050.00216.22
7.4.280.0060.00316.43
7.4.270.0000.00716.41
7.4.260.0000.00716.45
7.4.250.0030.00316.18
7.4.240.0070.00016.46
7.4.230.0070.00016.46
7.4.220.0060.01116.35
7.4.210.0100.00316.53
7.4.200.0030.00316.21
7.4.160.0100.00616.25
7.4.150.0030.01417.40
7.4.140.0080.01117.86
7.4.130.0100.00616.35
7.4.120.0100.00816.35
7.4.110.0070.01016.63
7.4.100.0060.01016.39
7.4.90.0060.01216.41
7.4.80.0070.01819.39
7.4.70.0070.01416.36
7.4.60.0090.00916.27
7.4.50.0080.00016.35
7.4.40.0120.00916.36
7.4.30.0090.00916.33
7.4.00.0140.00314.84
7.3.330.0000.00613.12
7.3.320.0050.00013.26
7.3.310.0030.00316.07
7.3.300.0030.00316.13
7.3.290.0060.01116.12
7.3.280.0070.00816.12
7.3.270.0140.00317.40
7.3.260.0080.00816.44
7.3.250.0080.01016.43
7.3.240.0080.01116.19
7.3.230.0060.01116.40
7.3.210.0090.00916.32
7.3.200.0070.01719.39
7.3.190.0120.00616.30
7.3.180.0090.00616.21
7.3.170.0070.01116.27
7.3.160.0090.01216.34
7.3.10.0060.00616.64
7.3.00.0100.00716.57
7.2.330.0100.00716.36
7.2.320.0100.01416.64
7.2.310.0070.01116.57
7.2.300.0090.00616.23
7.2.290.0150.00616.58
7.2.130.0110.00416.97
7.2.120.0030.01417.02
7.2.110.0000.01216.94
7.2.100.0030.01316.75
7.2.90.0030.01416.88
7.2.80.0000.01017.14
7.2.70.0040.00816.80
7.2.60.0000.01116.91
7.2.50.0000.01116.90
7.2.40.0000.01116.91
7.2.30.0030.00616.98
7.2.20.0070.00716.68
7.2.10.0070.00716.86
7.2.00.0030.01016.97
7.1.250.0080.00315.55
7.1.240.0040.00415.78
7.1.230.0040.01115.46
7.1.220.0060.00315.75
7.1.210.0040.01115.71
7.1.200.0030.01015.83
7.1.190.0030.00915.73
7.1.180.0030.01015.76
7.1.170.0030.00915.48
7.1.160.0000.01115.80
7.1.150.0030.01015.60
7.1.140.0040.00415.87
7.1.130.0000.01515.86
7.1.120.0090.00315.56
7.1.110.0060.00615.68
7.1.100.0000.01216.71
7.1.90.0030.00915.93
7.1.80.0030.00615.59
7.1.70.0050.00516.35
7.1.60.0050.01317.45
7.1.50.0140.00516.42
7.1.40.0070.00715.43
7.1.30.0000.01115.93
7.1.20.0030.01015.80
7.1.10.0090.00315.89
7.1.00.0040.04118.90
7.0.330.0000.01615.13
7.0.320.0040.00415.04
7.0.310.0030.00615.31
7.0.300.0100.00015.13
7.0.290.0040.00715.02
7.0.280.0060.00615.36
7.0.270.0090.00315.26
7.0.260.0030.01015.52
7.0.250.0080.00315.39
7.0.240.0000.01315.28
7.0.230.0040.00415.29
7.0.220.0040.01115.40
7.0.210.0030.00915.51
7.0.200.0020.00716.12
7.0.190.0000.01315.52
7.0.180.0040.00415.38
7.0.170.0030.00615.40
7.0.160.0040.00415.59
7.0.150.0080.00415.53
7.0.140.0030.04118.74
7.0.130.0030.00715.54
7.0.120.0070.00315.42
7.0.110.0120.00015.51
7.0.100.0050.00515.22
7.0.90.0030.00915.51
7.0.80.0060.00615.46
7.0.70.0030.00915.63
7.0.60.0070.04217.60
7.0.50.0030.03316.69
7.0.40.0070.02516.90
7.0.30.0120.03216.66
7.0.20.0170.04316.84
7.0.10.0000.03416.82
7.0.00.0030.02416.70
5.6.380.0000.01014.26
5.6.370.0120.00413.96
5.6.360.0060.00313.80
5.6.350.0000.01514.27
5.6.340.0060.00614.00
5.6.330.0050.00514.30
5.6.320.0000.01514.16
5.6.310.0080.00414.41
5.6.300.0030.01014.33
5.6.290.0000.01214.45
5.6.280.0020.04217.70
5.6.270.0030.00814.36
5.6.260.0070.00714.35
5.6.250.0000.01314.13
5.6.240.0100.00314.16
5.6.230.0040.00714.45
5.6.220.0000.00914.00
5.6.210.0030.02617.39
5.6.200.0040.04916.13
5.6.190.0020.02717.17
5.6.180.0180.03017.30
5.6.170.0180.02317.33
5.6.160.0080.03217.17
5.6.150.0060.04416.09
5.6.140.0080.04016.22
5.6.130.0080.03116.18
5.6.120.0080.02517.58
5.6.110.0050.03517.56
5.6.100.0080.04117.58
5.6.90.0080.04417.52
5.6.80.0050.04517.25
5.6.70.2020.02917.29
5.6.60.0030.00914.24
5.6.50.0040.00814.37
5.6.40.0030.01013.97
5.6.30.0030.01014.32
5.6.20.0000.01014.33
5.6.10.0100.00014.12
5.6.00.0100.00014.17
5.5.380.0040.00811.23
5.5.370.0000.00811.12
5.5.360.0030.00910.94
5.5.350.0080.04415.61
5.5.340.0020.02514.48
5.5.330.0070.02015.68
5.5.320.0260.02715.58
5.5.310.0160.02815.60
5.5.300.0020.04314.48
5.5.290.0030.02214.35
5.5.280.0100.03515.94
5.5.270.0030.03015.86
5.5.260.0050.04715.94
5.5.250.0020.03115.73
5.5.240.0150.03815.70
5.5.230.0050.00210.83
5.5.220.0030.00310.91
5.5.210.0060.00311.12
5.5.200.0060.00611.26
5.5.190.0060.00610.88
5.5.180.0000.00911.15
5.5.170.0000.01311.21
5.5.160.0000.00910.84
5.5.150.0030.00611.12
5.5.140.0030.00611.07
5.5.130.0000.00511.02
5.5.120.0000.00810.82
5.5.110.0030.00710.99
5.5.100.0000.01111.05
5.5.90.0030.00911.07
5.5.80.0060.00611.05
5.5.70.0060.00010.96
5.5.60.0030.00511.01
5.5.50.0000.00911.09
5.5.40.0070.00711.05
5.5.30.0000.00811.05
5.5.20.0030.00310.87
5.5.10.0030.00710.74
5.5.00.0000.01010.86
5.4.450.0500.02615.13
5.4.440.0370.03415.16
5.4.430.0450.03815.08
5.4.420.0430.03015.00
5.4.410.0480.03515.00
5.4.400.0350.03015.09
5.4.390.0420.03914.94
5.4.380.0370.03115.14
5.4.370.0490.02514.95
5.4.360.0380.03415.08
5.4.350.0200.03514.95
5.4.340.0080.01711.48
5.4.330.0030.00611.00
5.4.320.0050.02111.61
5.4.310.0040.02811.71
5.4.300.0090.01611.69
5.4.290.0060.02111.48
5.4.280.0050.02211.58
5.4.270.0030.02411.54
5.4.260.0040.02411.52
5.4.250.0090.02111.50
5.4.240.0030.02211.59
5.4.230.0050.02311.44
5.4.220.0030.02111.48
5.4.210.0060.02011.62
5.4.200.0060.02211.31
5.4.190.0020.02211.50
5.4.180.0060.02311.39
5.4.170.0050.02011.56
5.4.160.0060.02111.46
5.4.150.0080.01711.55
5.4.140.0050.02111.34
5.4.130.0080.02111.34
5.4.120.0050.02011.46
5.4.110.0040.02111.40
5.4.100.0060.01911.48
5.4.90.0030.02211.29
5.4.80.0040.02211.34
5.4.70.0040.02211.35
5.4.60.0080.01711.34
5.4.50.0040.01911.40
5.4.40.0050.02111.37
5.4.30.0030.02211.38
5.4.20.0030.02211.43
5.4.10.0070.01511.37
5.4.00.0050.02211.01
5.3.290.0060.01911.60
5.3.280.0030.02311.41
5.3.270.0060.01911.50
5.3.260.0060.01911.45
5.3.250.0040.02011.42
5.3.240.0080.01911.44
5.3.230.0050.02111.50
5.3.220.0060.02211.42
5.3.210.0050.02011.39
5.3.200.0050.01911.39
5.3.190.0050.02111.42
5.3.180.0040.02511.52
5.3.170.0080.01711.50
5.3.160.0050.02111.48
5.3.150.0020.02511.48
5.3.140.0060.02111.36
5.3.130.0060.02611.44
5.3.120.0070.02111.36
5.3.110.0050.02211.52
5.3.100.0020.02411.16
5.3.90.0060.02211.17
5.3.80.0040.02211.09
5.3.70.0020.02411.08
5.3.60.0070.01811.02
5.3.50.0010.02511.04
5.3.40.0080.01811.01
5.3.30.0040.02111.04
5.3.20.0040.02010.80
5.3.10.0010.02410.66
5.3.00.0030.02110.85
5.2.170.0040.0189.26
5.2.160.0030.0179.20
5.2.150.0050.0189.20
5.2.140.0050.0209.29
5.2.130.0030.0229.18
5.2.120.0060.0159.18
5.2.110.0050.0159.20
5.2.100.0050.0189.21
5.2.90.0050.0169.19
5.2.80.0070.0189.18
5.2.70.0020.0199.18
5.2.60.0040.0189.16
5.2.50.0050.0179.14
5.2.40.0030.0179.14
5.2.30.0040.0189.12
5.2.20.0070.0179.11
5.2.10.0040.0169.08
5.2.00.0040.0179.00
5.1.60.0060.0128.65
5.1.50.0040.0148.64
5.1.40.0050.0128.63
5.1.30.0040.0158.81
5.1.20.0040.0168.82
5.1.10.0050.0138.68
5.1.00.0040.0148.68
5.0.50.0040.0117.92
5.0.40.0060.0117.85
5.0.30.0020.0177.76
5.0.20.0040.0147.75
5.0.10.0020.0137.73
5.0.00.0030.0157.73
4.4.90.0020.0107.01
4.4.80.0040.0087.00
4.4.70.0030.0116.99
4.4.60.0030.0096.99
4.4.50.0040.0117.00
4.4.40.0030.0166.97
4.4.30.0030.0097.00
4.4.20.0020.0097.04
4.4.10.0010.0117.04
4.4.00.0040.0127.00
4.3.110.0020.0116.95
4.3.100.0030.0096.95
4.3.90.0010.0106.94
4.3.80.0030.0136.91
4.3.70.0030.0086.93
4.3.60.0010.0126.93
4.3.50.0030.0096.93
4.3.40.0020.0186.88
4.3.30.0010.0146.25
4.3.20.0040.0076.24
4.3.10.0020.0126.23
4.3.00.0030.0158.17

preferences:
32.18 ms | 400 KiB | 5 Q