3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b=99;$l="\n";while($b > 0) {$d='bottle'.($b>1?'s':'');echo "$b $d of beer on the wall, $b $d of beer.$l";$b--;echo ($b==0?'Go to the store and buy some more, ':'Take one down and pass it around, ').($b===0?99:$b).' bottles of beer on the wall.'.$l.$l;}

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.01316.38
8.3.50.0090.01122.13
8.3.40.0000.01518.70
8.3.30.0170.00719.10
8.3.20.0050.00320.38
8.3.10.0030.00621.73
8.3.00.0040.00419.13
8.2.180.0100.00616.38
8.2.170.0140.00422.96
8.2.160.0060.00820.35
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00422.19
8.2.110.0000.00920.53
8.2.100.0120.00017.38
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0070.00317.93
8.2.50.0030.00618.07
8.2.40.0080.00018.22
8.2.30.0000.00818.16
8.2.20.0040.00417.70
8.2.10.0040.00418.00
8.2.00.0050.00317.67
8.1.280.0130.00925.92
8.1.270.0030.00622.04
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.96
8.1.230.0130.00017.42
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0040.00417.22
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0040.00422.12
8.1.150.0070.00018.81
8.1.140.0070.00017.41
8.1.130.0030.00317.83
8.1.120.0000.00717.46
8.1.110.0020.00517.40
8.1.100.0070.00017.45
8.1.90.0060.00317.44
8.1.80.0040.00417.43
8.1.70.0000.00717.37
8.1.60.0030.00517.47
8.1.50.0080.00017.58
8.1.40.0020.00517.52
8.1.30.0000.00817.72
8.1.20.0030.00517.63
8.1.10.0060.00317.44
8.1.00.0030.00517.41
8.0.300.0070.00018.77
8.0.290.0030.00616.63
8.0.280.0000.00718.38
8.0.270.0030.00317.27
8.0.260.0030.00317.25
8.0.250.0000.00716.87
8.0.240.0060.00016.98
8.0.230.0040.00416.95
8.0.220.0000.00716.80
8.0.210.0070.00016.88
8.0.200.0000.00716.94
8.0.190.0090.00316.94
8.0.180.0000.00716.92
8.0.170.0040.00416.85
8.0.160.0070.00016.87
8.0.150.0040.00416.81
8.0.140.0050.00216.88
8.0.130.0000.00613.36
8.0.120.0000.00816.76
8.0.110.0030.00516.92
8.0.100.0000.00816.98
8.0.90.0030.00516.79
8.0.80.0070.01016.95
8.0.70.0030.00516.77
8.0.60.0070.00016.98
8.0.50.0050.00216.79
8.0.30.0140.01317.12
8.0.20.0100.01317.40
8.0.10.0000.00816.82
8.0.00.0110.00816.67
7.4.330.0020.00215.16
7.4.320.0000.00616.54
7.4.300.0030.00316.54
7.4.290.0030.00316.55
7.4.280.0050.00216.61
7.4.270.0070.00016.67
7.4.260.0070.00016.65
7.4.250.0070.00016.47
7.4.240.0000.00716.57
7.4.230.0040.00416.42
7.4.220.0000.01716.57
7.4.210.0060.01216.58
7.4.200.0040.00416.72
7.4.160.0130.00416.46
7.4.150.0070.01317.40
7.4.140.0130.01117.86
7.4.130.0030.01616.53
7.4.120.0130.00616.56
7.4.110.0120.01216.63
7.4.100.0230.00016.64
7.4.90.0070.01016.48
7.4.80.0070.01019.39
7.4.70.0040.01316.54
7.4.60.0070.01416.69
7.4.50.0040.00416.26
7.4.40.0080.00916.42
7.4.30.0130.00416.43
7.4.00.0090.00614.78
7.3.330.0030.00313.11
7.3.320.0030.00313.29
7.3.310.0030.00616.40
7.3.300.0000.00816.20
7.3.290.0060.00916.29
7.3.280.0130.00816.34
7.3.270.0140.01017.40
7.3.260.0120.00516.49
7.3.250.0130.00916.52
7.3.240.0160.01316.35
7.3.230.0130.00316.39
7.3.210.0090.00916.66
7.3.200.0150.00319.39
7.3.190.0110.01116.43
7.3.180.0130.00316.50
7.3.170.0150.00916.54
7.3.160.0090.00616.45
7.2.330.0040.01516.54
7.2.320.0140.00716.73
7.2.310.0090.00916.28
7.2.300.0080.00916.71
7.2.290.0090.01516.71
7.1.70.0030.00717.04
7.1.60.0100.01319.11
7.1.50.0070.02017.02
7.1.00.0070.07322.45
7.0.200.0030.00616.88
7.0.140.0100.07021.97
7.0.60.0130.05719.89
7.0.50.0000.06017.81
7.0.40.0070.08719.96
7.0.30.0300.07720.30
7.0.20.0270.08320.28
7.0.10.0170.08020.12
7.0.00.0100.08320.16
5.6.280.0000.07721.10
5.6.210.0000.08720.56
5.6.200.0100.07018.21
5.6.190.0070.04020.57
5.6.180.3370.04320.77
5.6.170.0270.07720.33
5.6.160.0170.05020.38
5.6.150.0070.04018.09
5.6.140.0070.07018.18
5.6.130.0030.05718.21
5.6.120.0170.07320.98
5.6.110.0230.07321.00
5.6.100.0070.04720.95
5.6.90.0000.06020.99
5.6.80.0070.03720.38
5.6.70.0000.03720.50
5.5.350.0070.08020.38
5.5.340.0070.08317.91
5.5.330.0030.06020.08
5.5.320.0170.04720.30
5.5.310.0370.07320.20
5.5.300.0070.03717.91
5.5.290.0070.03717.87
5.5.280.0070.05320.84
5.5.270.0130.08320.86
5.5.260.0130.06320.75
5.5.250.0030.04320.77
5.5.240.0130.07720.27
5.4.450.0230.05019.41
5.4.440.0270.04019.41
5.4.430.0300.03719.25
5.4.420.0300.08019.24
5.4.410.0430.05719.45
5.4.400.0470.06019.14
5.4.390.0500.06019.09
5.4.380.0430.06719.13
5.4.370.0470.07019.07
5.4.360.0500.07019.13
5.4.350.0500.05719.09
5.4.340.0470.04319.13
5.4.320.0430.04019.09
5.4.310.0330.06019.10
5.4.300.0300.05018.91
5.4.290.0430.06318.82
5.4.280.0400.07019.13
5.4.270.0530.05719.09
5.4.260.0300.06719.13
5.4.250.0500.06319.12
5.4.240.0400.03718.80
5.4.230.0330.06319.24
5.4.220.0430.06319.23
5.4.210.0470.05719.13
5.4.200.0270.06319.24
5.4.190.0470.06319.24
5.4.180.0330.06719.07
5.4.170.0400.07319.23
5.4.160.0470.04018.86
5.4.150.0370.03319.14
5.4.140.0400.06716.38
5.4.130.0430.06716.44
5.4.120.0430.05716.28
5.4.110.0370.07316.41
5.4.100.0500.05716.42
5.4.90.0430.06316.23
5.4.80.0270.04316.02
5.4.70.0470.05316.21
5.4.60.0400.06716.28
5.4.50.0400.06716.36
5.4.40.0500.06316.04
5.4.30.0400.06716.47
5.4.20.0430.06316.45
5.4.10.0500.05716.16
5.4.00.0400.06715.61
5.3.290.0400.05314.52
5.3.280.0370.04714.42
5.3.270.0400.06014.46
5.3.260.0370.07014.53
5.3.250.0370.03714.45
5.3.240.0470.06314.55
5.3.230.0470.06714.47
5.3.220.0330.03714.52
5.3.210.0430.07014.39
5.3.200.0600.03014.47
5.3.190.0430.07014.65
5.3.180.0570.05714.44
5.3.170.0400.05714.36
5.3.160.0370.04714.40
5.3.150.0270.04714.54
5.3.140.0430.05714.64
5.3.130.0470.06014.51
5.3.120.0470.06314.50
5.3.110.0500.06014.38
5.3.100.0400.07313.88
5.3.90.0500.05713.96
5.3.80.0330.04013.89
5.3.70.0400.07013.99
5.3.60.0370.05713.97
5.3.50.0370.06713.82
5.3.40.0400.04013.89
5.3.30.0330.03313.77
5.3.20.0230.04013.47
5.3.10.0330.04313.53
5.3.00.0200.04013.43
5.2.170.0270.04313.05
5.2.160.0300.05713.05
5.2.150.0230.04713.05
5.2.140.0230.03013.05
5.2.130.0300.05313.05
5.2.120.0270.04313.05
5.2.110.0300.05713.05
5.2.100.0270.05713.05
5.2.90.0300.05313.05
5.2.80.0270.02713.05
5.2.70.0170.03713.05
5.2.60.0200.03013.05
5.2.50.0230.02713.05
5.2.40.0270.05313.05
5.2.30.0170.03713.05
5.2.20.0230.04713.05
5.2.10.0170.02713.05
5.2.00.0200.03313.05
5.1.60.0200.02713.05
5.1.50.0170.04013.05
5.1.40.0130.04313.05
5.1.30.0170.02713.05
5.1.20.0300.04713.05
5.1.10.0170.02713.05
5.1.00.0200.03013.05
5.0.50.0170.04013.05
5.0.40.0170.03713.05
5.0.30.0070.03313.05
5.0.20.0130.02013.05
5.0.10.0130.01713.05
5.0.00.0100.06313.05
4.4.90.0100.02013.05
4.4.80.0070.01713.05
4.4.70.0070.02013.05
4.4.60.0070.02013.05
4.4.50.0070.02013.05
4.4.40.0070.02713.05
4.4.30.0070.02013.05
4.4.20.0100.02313.05
4.4.10.0070.02013.05
4.4.00.0130.05013.05
4.3.110.0130.01713.05
4.3.100.0130.01713.05
4.3.90.0100.01713.05
4.3.80.0100.02313.05
4.3.70.0100.01713.05
4.3.60.0100.02013.05
4.3.50.0070.01713.05
4.3.40.0130.02013.05
4.3.30.0070.02713.05
4.3.20.0070.01713.05
4.3.10.0070.02713.05
4.3.00.0100.01313.05

preferences:
42.33 ms | 401 KiB | 5 Q