3v4l.org

run code in 300+ PHP versions simultaneously
<?php $yardlines = array("The 50... ", "the 40... ", "the 30... ", "the 20... ", "the 10... "); // Write your foreach loop below this line foreach($yardlines as $touchdown) { // Write your foreach loop above this line echo $touchdown; } ?>

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.0060.00818.31
8.3.50.0060.01021.92
8.3.40.0140.00418.68
8.3.30.0100.00318.99
8.3.20.0080.00020.16
8.3.10.0000.00821.80
8.3.00.0050.00322.53
8.2.180.0110.00716.63
8.2.170.0120.00322.96
8.2.160.0060.01018.96
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.36
8.2.110.0060.00322.25
8.2.100.0130.00019.64
8.2.90.0040.00419.18
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0000.00717.80
8.2.50.0000.00918.07
8.2.40.0060.00318.28
8.2.30.0000.00718.10
8.2.20.0040.00417.58
8.2.10.0040.00417.66
8.2.00.0050.00517.58
8.1.280.0070.01125.92
8.1.270.0040.00422.05
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0030.00623.88
8.1.230.0080.00319.15
8.1.220.0030.00617.74
8.1.210.0090.00018.77
8.1.200.0050.00517.13
8.1.190.0030.00617.18
8.1.180.0000.00818.10
8.1.170.0030.00518.59
8.1.160.0090.00021.91
8.1.150.0040.00418.69
8.1.140.0080.00017.44
8.1.130.0000.00717.86
8.1.120.0030.00617.36
8.1.110.0070.00017.44
8.1.100.0000.00817.37
8.1.90.0030.00417.36
8.1.80.0030.00317.43
8.1.70.0030.00317.44
8.1.60.0100.00517.56
8.1.50.0000.00717.46
8.1.40.0090.00017.46
8.1.30.0000.00717.63
8.1.20.0040.00417.60
8.1.10.0040.00417.46
8.1.00.0080.00017.41
8.0.300.0070.00018.77
8.0.290.0020.00517.04
8.0.280.0040.00418.37
8.0.270.0030.00317.24
8.0.260.0040.00416.80
8.0.250.0030.00316.84
8.0.240.0050.00316.97
8.0.230.0000.00716.81
8.0.220.0030.00316.88
8.0.210.0040.00416.76
8.0.200.0000.00616.92
8.0.190.0000.00716.96
8.0.180.0040.00416.80
8.0.170.0000.00716.95
8.0.160.0070.00016.90
8.0.150.0050.00316.85
8.0.140.0030.00316.75
8.0.130.0060.00013.35
8.0.120.0060.00316.77
8.0.110.0050.00216.91
8.0.100.0040.00416.87
8.0.90.0040.00416.77
8.0.80.0080.00916.89
8.0.70.0000.00816.75
8.0.60.0000.00716.66
8.0.50.0000.00716.99
8.0.30.0090.00917.24
8.0.20.0060.01217.40
8.0.10.0040.00416.89
8.0.00.0090.01116.64
7.4.330.0030.00315.00
7.4.320.0030.00316.44
7.4.300.0040.00416.56
7.4.290.0000.00716.50
7.4.280.0000.00716.40
7.4.270.0050.00216.59
7.4.260.0090.00316.42
7.4.250.0030.00316.54
7.4.240.0040.00416.55
7.4.230.0030.00316.49
7.4.220.0030.01416.40
7.4.210.0080.01016.59
7.4.200.0000.00816.61
7.4.190.0040.00416.48
7.4.160.0110.00416.45
7.4.150.0090.00917.40
7.4.140.0080.01317.86
7.4.130.0080.00816.46
7.4.120.0070.00916.45
7.4.110.0170.00716.33
7.4.100.0110.00616.40
7.4.90.0150.01216.46
7.4.80.0110.00919.39
7.4.70.0070.01016.45
7.4.60.0070.01616.34
7.4.50.0000.00816.41
7.4.40.0070.00722.77
7.4.30.0080.00916.41
7.4.00.0080.00914.98
7.3.330.0030.00313.08
7.3.320.0050.00013.16
7.3.310.0000.00716.30
7.3.300.0060.00016.28
7.3.290.0000.01416.29
7.3.280.0090.00716.24
7.3.270.0130.00817.40
7.3.260.0080.00816.50
7.3.250.0100.00816.41
7.3.240.0100.00716.28
7.3.230.0150.00316.39
7.3.210.0120.00416.53
7.3.200.0080.01219.39
7.3.190.0120.01016.50
7.3.180.0130.00316.36
7.3.170.0080.00816.45
7.3.160.0090.00616.29
7.3.120.0080.00814.76
7.3.110.0000.01214.63
7.3.100.0060.00615.00
7.3.90.0030.00914.81
7.3.80.0040.01114.53
7.3.70.0040.00814.84
7.3.60.0000.01214.85
7.3.50.0040.01414.64
7.3.40.0040.01114.87
7.3.30.0100.00314.73
7.3.20.0030.00916.48
7.3.10.0060.00816.50
7.3.00.0080.00516.58
7.2.330.0070.01016.64
7.2.320.0100.01316.58
7.2.310.0070.01016.70
7.2.300.0030.01416.63
7.2.290.0040.01116.46
7.2.250.0030.01315.00
7.2.240.0090.00915.00
7.2.230.0040.00715.18
7.2.220.0070.00714.97
7.2.210.0040.01114.99
7.2.200.0070.00714.99
7.2.190.0070.00714.90
7.2.180.0060.00914.80
7.2.170.0040.01414.76
7.2.130.0030.01016.88
7.2.120.0090.00316.96
7.2.110.0060.00616.62
7.2.100.0030.00916.91
7.2.90.0110.00816.77
7.2.80.0000.01616.71
7.2.70.0040.01216.77
7.2.60.0060.00716.71
7.2.50.0040.01516.97
7.2.40.0070.00716.99
7.2.30.0090.00616.84
7.2.20.0070.00716.73
7.2.10.0070.01016.96
7.2.00.0070.00818.18
7.1.330.0070.00715.97
7.1.320.0100.00315.89
7.1.310.0090.00615.90
7.1.300.0030.01315.68
7.1.290.0100.00315.56
7.1.280.0000.01115.57
7.1.270.0000.01215.77
7.1.260.0030.00615.80
7.1.250.0090.00615.89
7.1.200.0090.00315.58
7.1.100.0070.00718.20
7.1.70.0050.00217.14
7.1.60.0060.01919.82
7.1.50.0040.01216.93
7.1.00.0030.07322.28
7.0.200.0100.00716.78
7.0.140.0030.07322.00
7.0.110.0130.03319.84
7.0.100.0070.08319.93
7.0.90.0170.07719.95
7.0.80.0000.05019.96
7.0.70.0000.08019.97
7.0.60.0030.06319.87
7.0.50.0000.08020.23
7.0.40.0070.08020.19
7.0.30.0100.08020.00
7.0.20.0130.07320.22
7.0.10.0070.08720.11
7.0.00.0130.07720.24
5.6.280.0000.07720.89
5.6.260.0100.05320.60
5.6.250.0000.09020.43
5.6.240.0070.08020.58
5.6.230.0130.04720.56
5.6.220.0070.06020.78
5.6.210.0070.07320.54
5.6.200.0100.07321.05
5.6.190.0070.08320.93
5.6.180.0230.03021.07
5.6.170.0070.08321.12
5.6.160.0030.06720.93
5.6.150.0070.08021.21
5.6.140.0070.08321.26
5.6.130.0130.07321.26
5.6.120.0170.07021.26
5.6.110.0000.04721.20
5.6.100.0070.05021.13
5.6.90.0100.08021.11
5.6.80.0000.08020.37
5.6.70.0170.06020.40
5.6.60.0100.07720.45
5.6.50.0100.08020.42
5.6.40.0130.07020.38
5.6.30.0130.07320.50
5.6.20.0030.07320.43
5.6.10.0070.05320.28
5.6.00.0130.06720.41
5.5.380.0070.07720.45
5.5.370.0000.07020.32
5.5.360.0000.06020.47
5.5.350.0100.07320.41
5.5.340.0100.04320.81
5.5.330.0000.08720.98
5.5.320.0030.05320.88
5.5.310.0070.05720.84
5.5.300.0030.05320.94
5.5.290.0030.08720.94
5.5.280.0030.09020.93
5.5.270.0030.08720.76
5.5.260.0130.07320.77
5.5.250.0200.06320.76
5.5.240.0230.06320.40
5.5.230.0170.05320.34
5.5.220.0070.07720.33
5.5.210.0100.07720.32
5.5.200.0130.04320.29
5.5.190.0000.05720.04
5.5.180.0070.07720.04
5.5.160.0030.04720.25
5.5.150.0100.07320.33
5.5.140.0170.06720.38
5.5.130.0070.08020.21
5.5.120.0070.05320.30
5.5.110.0130.06320.15
5.5.100.0100.05720.10
5.5.90.0030.04720.27
5.5.80.0100.04720.04
5.5.70.0070.05020.16
5.5.60.0170.06720.25
5.5.50.0000.08320.18
5.5.40.0070.07019.96
5.5.30.0070.04320.11
5.5.20.0100.07320.12
5.5.10.0170.03720.02
5.5.00.0100.07320.16
5.4.450.0030.08319.31
5.4.440.0070.07719.35
5.4.430.0070.07719.30
5.4.420.0070.08019.48
5.4.410.0070.07319.22
5.4.400.0070.08019.12
5.4.390.0130.06719.11
5.4.380.0100.03319.03
5.4.370.0000.08019.00
5.4.360.0070.08319.25
5.4.350.0070.08019.20
5.4.340.0070.07718.98
5.4.320.0130.05319.03
5.4.310.0070.03719.01
5.4.300.0170.07019.00
5.4.290.0030.05719.17
5.4.280.0030.04319.18
5.4.270.0130.03719.02
5.4.260.0030.04319.07
5.4.250.0000.04719.11
5.4.240.0170.06019.00
5.4.230.0030.06719.13
5.4.220.0030.05318.94
5.4.210.0030.05319.26
5.4.200.0130.03719.26
5.4.190.0030.03719.15
5.4.180.0070.04319.09
5.4.170.0130.05319.18
5.4.160.0130.05018.91
5.4.150.0070.04719.11
5.4.140.0000.04716.11
5.4.130.0030.05316.31
5.4.120.0100.06716.38
5.4.110.0070.07016.28
5.4.100.0170.06016.50
5.4.90.0130.06016.13
5.4.80.0030.08016.32
5.4.70.0100.07016.36
5.4.60.0000.07716.48
5.4.50.0070.07016.34
5.4.40.0100.07016.43
5.4.30.0030.07716.34
5.4.20.0030.08016.25
5.4.10.0070.06016.34
5.4.00.0070.07015.83
5.3.290.0070.07014.66
5.3.280.0030.04714.49
5.3.270.0070.07014.45
5.3.260.0030.07714.70
5.3.250.0070.05014.44
5.3.240.0000.04014.45
5.3.230.0100.06714.53
5.3.220.0030.06714.63
5.3.210.0030.04714.35
5.3.200.0070.07014.41
5.3.190.0030.08014.63
5.3.180.0070.07314.38
5.3.170.0030.07314.57
5.3.160.0030.07314.55
5.3.150.0070.07014.40
5.3.140.0030.07014.40
5.3.130.0030.07714.33
5.3.120.0070.08014.44
5.3.110.0030.08014.54
5.3.100.0070.07714.10
5.3.90.0000.08014.01
5.3.80.0030.07313.93
5.3.70.0030.08013.91
5.3.60.0170.06714.10
5.3.50.0070.07013.79
5.3.40.0030.06013.88
5.3.30.0100.06713.75
5.3.20.0030.07013.72
5.3.10.0000.06713.53
5.3.00.0030.07013.48
5.2.170.0070.06312.37
5.2.160.0070.05712.37
5.2.150.0070.04312.37
5.2.140.0070.05712.37
5.2.130.0070.05312.37
5.2.120.0000.06312.37
5.2.110.0070.06012.37
5.2.100.0070.05712.37
5.2.90.0100.05012.37
5.2.80.0070.06012.37
5.2.70.0070.05312.37
5.2.60.0000.06712.37
5.2.50.0130.05012.37
5.2.40.0030.06012.37
5.2.30.0100.05312.37
5.2.20.0030.06312.37
5.2.10.0030.06012.37
5.2.00.0070.05012.37
5.1.60.0000.05712.37
5.1.50.0030.05012.37
5.1.40.0030.05012.37
5.1.30.0000.06012.37
5.1.20.0070.05312.37
5.1.10.0170.04712.37
5.1.00.0070.05312.37
5.0.50.0030.04712.37
5.0.40.0030.03312.37
5.0.30.0000.05712.37
5.0.20.0000.03712.37
5.0.10.0000.02712.37
5.0.00.0000.05312.37
4.4.90.0030.02712.37
4.4.80.0000.03712.37
4.4.70.0030.03712.37
4.4.60.0030.03312.37
4.4.50.0000.02712.37
4.4.40.0030.03712.37
4.4.30.0100.03012.37
4.4.20.0030.03312.37
4.4.10.0030.02012.37
4.4.00.0030.04012.37
4.3.110.0030.03312.37
4.3.100.0000.03012.37
4.3.90.0000.03712.37
4.3.80.0030.02312.37
4.3.70.0030.01312.37
4.3.60.0000.03312.37
4.3.50.0000.02712.37
4.3.40.0030.05012.37
4.3.30.0000.03012.37
4.3.20.0030.02712.37
4.3.10.0030.02712.37
4.3.00.0000.03712.37

preferences:
45.54 ms | 401 KiB | 5 Q