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$a.\nTake one down and passed it around, ".($b-1)."$a$c.\n\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)
8.3.60.0110.00718.31
8.3.50.0120.00720.95
8.3.40.0070.01018.61
8.3.30.0100.00318.98
8.3.20.0000.00720.07
8.3.10.0040.00423.66
8.3.00.0080.00019.26
8.2.180.0140.00416.38
8.2.170.0070.00722.96
8.2.160.0130.00720.47
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00022.15
8.2.110.0060.00322.11
8.2.100.0070.00417.50
8.2.90.0000.00719.06
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0030.00718.07
8.2.40.0000.00819.82
8.2.30.0040.00417.93
8.2.20.0050.00217.57
8.2.10.0000.00717.80
8.2.00.0030.00617.45
8.1.280.0150.00325.92
8.1.270.0040.00423.84
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0090.00019.14
8.1.230.0040.00718.79
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0060.00318.49
8.1.160.0060.00322.04
8.1.150.0000.00718.73
8.1.140.0050.00217.36
8.1.130.0040.00417.76
8.1.120.0030.00317.35
8.1.110.0020.00517.36
8.1.100.0030.00317.31
8.1.90.0000.00717.29
8.1.80.0030.00417.30
8.1.70.0000.00617.32
8.1.60.0030.00517.41
8.1.50.0000.00817.39
8.1.40.0030.00517.31
8.1.30.0000.00817.46
8.1.20.0040.00417.40
8.1.10.0000.00817.47
8.1.00.0040.00417.41
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0040.00418.32
8.0.270.0000.00817.05
8.0.260.0040.00417.14
8.0.250.0070.00016.82
8.0.240.0030.00316.86
8.0.230.0040.00316.84
8.0.220.0030.00316.82
8.0.210.0000.00616.79
8.0.200.0060.00016.79
8.0.190.0030.00716.71
8.0.180.0030.00516.76
8.0.170.0080.00016.80
8.0.160.0050.00216.77
8.0.150.0000.00716.70
8.0.140.0000.00716.66
8.0.130.0030.00313.35
8.0.120.0030.00616.63
8.0.110.0000.00716.71
8.0.100.0070.00016.57
8.0.90.0050.00216.82
8.0.80.0090.01016.69
8.0.70.0000.00816.60
8.0.60.0070.00016.53
8.0.50.0020.00516.71
8.0.30.0080.01216.80
8.0.20.0080.01117.40
8.0.10.0040.00416.82
8.0.00.0130.00416.58
7.4.330.0050.00015.07
7.4.320.0000.00716.45
7.4.300.0030.00316.51
7.4.290.0070.00016.35
7.4.280.0050.00516.36
7.4.270.0030.00316.46
7.4.260.0000.00616.39
7.4.250.0040.00416.38
7.4.240.0020.00516.41
7.4.230.0030.00316.39
7.4.220.0130.00616.41
7.4.210.0120.00316.40
7.4.200.0030.00316.44
7.4.160.0110.00516.39
7.4.150.0080.01317.40
7.4.140.0110.00617.86
7.4.130.0070.01316.35
7.4.120.0120.00416.32
7.4.110.0100.00716.28
7.4.100.0070.01016.15
7.4.90.0070.01016.51
7.4.80.0090.00919.39
7.4.70.0110.00616.44
7.4.60.0030.01216.25
7.4.50.0000.00816.24
7.4.40.0080.00816.20
7.4.30.0030.01216.28
7.4.00.0070.01014.45
7.3.330.0000.00613.21
7.3.320.0000.00513.17
7.3.310.0040.00416.19
7.3.300.0030.00316.04
7.3.290.0010.01316.17
7.3.280.0070.01116.07
7.3.270.0060.01117.40
7.3.260.0180.00316.46
7.3.250.0130.00316.45
7.3.240.0090.00816.21
7.3.230.0060.01016.39
7.3.210.0070.01416.41
7.3.200.0180.00419.39
7.3.190.0000.02116.19
7.3.180.0120.00316.09
7.3.170.0090.01316.34
7.3.160.0150.00016.16
7.2.330.0100.00716.61
7.2.320.0090.00916.35
7.2.310.0190.00316.29
7.2.300.0090.00916.26
7.2.290.0130.00916.38
7.2.110.0160.00316.64
7.2.100.0100.00716.42
7.2.90.0110.00816.63
7.2.80.0000.01516.53
7.2.70.0140.00316.70
7.2.60.0070.00716.91
7.2.50.0000.00916.85
7.2.40.0100.00317.04
7.2.30.0030.01016.92
7.2.20.0030.01316.74
7.2.10.0100.00716.81
7.2.00.0070.00716.88
7.1.230.0030.00615.71
7.1.220.0140.00315.70
7.1.210.0090.01015.69
7.1.200.0070.00715.61
7.1.190.0110.00715.71
7.1.180.0190.00015.87
7.1.170.0110.00415.78
7.1.160.0070.00715.53
7.1.150.0070.00715.74
7.1.140.0110.00415.71
7.1.130.0130.00315.81
7.1.120.0070.00715.62
7.1.110.0030.01015.79
7.1.100.0030.01315.87
7.1.90.0000.00915.72
7.1.80.0120.00915.69
7.1.70.0030.00716.40
7.1.60.0110.01117.50
7.1.50.0130.00616.36
7.1.40.0000.02015.87
7.1.30.0030.01615.75
7.1.20.0100.01415.82
7.1.10.0040.01215.82
7.1.00.0090.03819.00
7.0.310.0110.00715.04
7.0.300.0160.00315.27
7.0.290.0070.01115.41
7.0.280.0090.01015.05
7.0.270.0070.01015.25
7.0.260.0100.00715.04
7.0.250.0110.00715.55
7.0.240.0000.01215.50
7.0.230.0130.01015.30
7.0.220.0040.01215.37
7.0.210.0100.00715.45
7.0.200.0030.00916.12
7.0.190.0150.00415.38
7.0.180.0060.01015.38
7.0.170.0130.00315.44
7.0.160.0000.01615.13
7.0.150.0130.00715.07
7.0.140.0080.03718.69
7.0.130.0030.01115.31
7.0.120.0120.00415.09
7.0.110.0070.00715.23
7.0.100.0040.00815.32
7.0.90.0100.00315.34
7.0.80.0030.00615.06
7.0.70.0000.01114.90
7.0.60.0100.03317.56
7.0.50.0030.04516.52
7.0.40.0050.02516.81
7.0.30.0050.03116.75
7.0.20.0200.04416.67
7.0.10.0070.03016.62
7.0.00.0080.04016.76
5.6.380.0100.00314.22
5.6.370.0060.01014.27
5.6.360.0030.01314.51
5.6.350.0060.00614.13
5.6.340.0110.00414.47
5.6.330.0070.00714.51
5.6.320.0150.00014.13
5.6.310.0110.00314.50
5.6.300.0030.01014.09
5.6.290.0090.00414.02
5.6.280.0070.03817.73
5.6.270.0070.00714.07
5.6.260.0110.00813.91
5.6.250.0060.00614.09
5.6.240.0070.01014.16
5.6.230.0030.01014.38
5.6.220.0080.00314.19
5.6.210.0130.04117.45
5.6.200.0100.03316.20
5.6.190.0100.02217.40
5.6.180.0110.04517.13
5.6.170.0150.04017.34
5.6.160.0050.02917.37
5.6.150.0090.04216.29
5.6.140.0080.04016.15
5.6.130.0050.04116.04
5.6.120.0050.05217.39
5.6.110.0070.04817.45
5.6.100.0050.04817.56
5.6.90.0100.03817.54
5.6.80.0030.02517.31
5.6.70.1720.02517.23
5.6.60.0130.00314.11
5.6.50.0100.00614.15
5.6.40.0030.01013.93
5.6.30.0060.00614.08
5.6.20.0040.01114.15
5.6.10.0030.00913.80
5.6.00.0060.01014.16
5.5.380.0060.00611.04
5.5.370.0000.01010.84
5.5.360.0090.00311.06
5.5.350.0050.03215.54
5.5.340.0030.03214.47
5.5.330.0090.03015.68
5.5.320.0150.04615.52
5.5.310.0130.03115.47
5.5.300.0050.03814.38
5.5.290.0050.02214.41
5.5.280.0120.03515.98
5.5.270.0060.04215.90
5.5.260.0070.04415.69
5.5.250.0100.03715.79
5.5.240.0170.03915.55
5.5.230.0060.00610.80
5.5.220.0000.01110.97
5.5.210.0030.00711.20
5.5.200.0040.00810.94
5.5.190.0060.00610.77
5.5.180.0000.01210.89
5.5.170.0000.01614.25
5.5.160.0040.00810.87
5.5.150.0030.00911.03
5.5.140.0030.00610.92
5.5.130.0120.00010.78
5.5.120.0040.00810.93
5.5.110.0030.01011.08
5.5.100.0030.00611.17
5.5.90.0060.00610.81
5.5.80.0060.00610.89
5.5.70.0140.00010.96
5.5.60.0040.00411.09
5.5.50.0030.00610.92
5.5.40.0000.01211.00
5.5.30.0030.00710.99
5.5.20.0060.00311.20
5.5.10.0000.01210.85
5.5.00.0040.00710.93
5.4.450.0550.04614.90
5.4.440.0400.03215.18
5.4.430.0270.03115.13
5.4.420.0410.03115.11
5.4.410.0320.03214.88
5.4.400.0520.03314.96
5.4.390.0470.03614.86
5.4.380.0350.03015.08
5.4.370.0380.02914.90
5.4.360.0380.03014.94
5.4.350.0420.04115.08
5.4.340.0060.02111.44
5.4.330.0090.00310.88
5.4.320.0050.02511.72
5.4.310.0040.02211.62
5.4.300.0050.02011.68
5.4.290.0040.02311.67
5.4.280.0050.02211.64
5.4.270.0070.02111.70
5.4.260.0050.02211.55
5.4.250.0060.02111.72
5.4.240.0080.02211.60
5.4.230.0050.02411.55
5.4.220.0040.02211.50
5.4.210.0090.02011.56
5.4.200.0090.01811.55
5.4.190.0070.02111.68
5.4.180.0040.02111.71
5.4.170.0020.02411.60
5.4.160.0040.02211.70
5.4.150.0040.02111.71
5.4.140.0020.02311.59
5.4.130.0070.01911.43
5.4.120.0020.02211.42
5.4.110.0060.01711.33
5.4.100.0070.01611.24
5.4.90.0070.01711.41
5.4.80.0040.02211.35
5.4.70.0040.01911.34
5.4.60.0050.01911.33
5.4.50.0060.02011.46
5.4.40.0020.02311.25
5.4.30.0040.02111.47
5.4.20.0030.02111.41
5.4.10.0070.01811.50
5.4.00.0050.02011.11
5.3.290.0070.02111.57
5.3.280.0090.01811.50
5.3.270.0020.02511.39
5.3.260.0040.02211.47
5.3.250.0050.02111.51
5.3.240.0040.02411.46
5.3.230.0050.02311.46
5.3.220.0020.02111.39
5.3.210.0040.02111.39
5.3.200.0030.02111.39
5.3.190.0060.01911.43
5.3.180.0060.02011.54
5.3.170.0020.02211.48
5.3.160.0040.01911.50
5.3.150.0040.02011.47
5.3.140.0040.02111.33
5.3.130.0040.02111.50
5.3.120.0050.02111.32
5.3.110.0040.01911.44
5.3.100.0080.01711.09
5.3.90.0060.01911.13
5.3.80.0030.02311.06
5.3.70.0070.01911.11
5.3.60.0050.02011.19
5.3.50.0070.01811.02
5.3.40.0020.02411.06
5.3.30.0020.02110.95
5.3.20.0040.02010.83
5.3.10.0030.02110.77
5.3.00.0040.02110.83
5.2.170.0040.0169.27
5.2.160.0040.0169.27
5.2.150.0020.0189.24
5.2.140.0040.0189.30
5.2.130.0030.0179.17
5.2.120.0020.0189.20
5.2.110.0040.0169.28
5.2.100.0040.0169.22
5.2.90.0020.0199.21
5.2.80.0040.0169.14
5.2.70.0050.0169.18
5.2.60.0050.0188.95
5.2.50.0030.0179.15
5.2.40.0020.0169.21
5.2.30.0040.0169.14
5.2.20.0040.0178.89
5.2.10.0040.0179.02
5.2.00.0020.0188.82
5.1.60.0040.0148.39
5.1.50.0020.0148.39
5.1.40.0040.0138.38
5.1.30.0030.0158.56
5.1.20.0050.0158.57
5.1.10.0050.0148.43
5.1.00.0020.0168.43
5.0.50.0040.0117.67
5.0.40.0010.0127.60
5.0.30.0020.0177.51
5.0.20.0010.0127.49
5.0.10.0020.0117.48
5.0.00.0040.0187.48
4.4.90.0030.0126.76
4.4.80.0030.0096.74
4.4.70.0030.0076.74
4.4.60.0020.0146.74
4.4.50.0010.0136.75
4.4.40.0030.0146.72
4.4.30.0040.0106.74
4.4.20.0020.0086.79
4.4.10.0030.0126.79
4.4.00.0020.0156.74
4.3.110.0010.0116.70
4.3.100.0020.0096.70
4.3.90.0030.0076.68
4.3.80.0000.0166.66
4.3.70.0030.0096.68
4.3.60.0020.0096.68
4.3.50.0010.0116.68
4.3.40.0030.0136.63
4.3.30.0020.0106.00
4.3.20.0000.0105.99
4.3.10.0030.0085.97
4.3.00.0050.0137.92

preferences:
54.92 ms | 401 KiB | 5 Q