3v4l.org

run code in 300+ PHP versions simultaneously
<?php $author = array( array('james', 'brandun', 'test'), array('bond', 'maculam', 'kumar'), array('affiliation', 'affiliation', 'affiliation') ); print_r($author); function (array $author, $value){ for ($i = 0; $i < count($author); $i++) { for ($j = 0; $j < count($author[$i]); $i++) { echo "<li>".$shop[$i][$j]."</li>"; } } } ?>

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.0150.00016.38
8.3.50.0110.00922.05
8.3.40.0070.01018.54
8.3.30.0110.00419.11
8.3.20.0080.00020.33
8.3.10.0050.00321.57
8.3.00.0040.00420.90
8.2.180.0080.00818.29
8.2.170.0100.01022.96
8.2.160.0050.00922.09
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0090.00019.77
8.2.110.0070.00420.82
8.2.100.0000.01117.72
8.2.90.0030.00619.22
8.2.80.0060.00317.97
8.2.70.0080.00017.50
8.2.60.0000.00818.03
8.2.50.0060.00318.07
8.2.40.0000.00818.16
8.2.30.0000.00718.08
8.2.20.0000.00717.57
8.2.10.0040.00417.95
8.2.00.0000.00717.60
8.1.280.0140.00725.92
8.1.270.0000.00820.60
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00721.31
8.1.230.0040.00820.99
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0000.00917.36
8.1.190.0090.00017.35
8.1.180.0030.00518.10
8.1.170.0000.00920.32
8.1.160.0040.00421.90
8.1.150.0040.00418.86
8.1.140.0000.00717.39
8.1.130.0070.00017.78
8.1.120.0070.00017.55
8.1.110.0040.00417.46
8.1.100.0050.00317.35
8.1.90.0040.00417.49
8.1.80.0040.00417.44
8.1.70.0000.00717.48
8.1.60.0060.00317.61
8.1.50.0000.00817.54
8.1.40.0000.00717.48
8.1.30.0030.00617.68
8.1.20.0000.00717.66
8.1.10.0040.00417.44
8.1.00.0040.00417.50
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.35
8.0.270.0030.00317.14
8.0.260.0060.00017.11
8.0.250.0030.00316.96
8.0.240.0000.00616.79
8.0.230.0040.00416.89
8.0.220.0030.00316.80
8.0.210.0030.00316.73
8.0.200.0060.00316.85
8.0.190.0050.00216.94
8.0.180.0040.00416.83
8.0.170.0000.00716.96
8.0.160.0000.00716.78
8.0.150.0020.00516.77
8.0.140.0040.00416.68
8.0.130.0030.00313.36
8.0.120.0050.00316.85
8.0.110.0080.00016.84
8.0.100.0000.00716.76
8.0.90.0000.00816.75
8.0.80.0000.01616.95
8.0.70.0000.00716.87
8.0.60.0030.00516.87
8.0.50.0000.00716.74
8.0.30.0110.01217.13
8.0.20.0100.00917.40
8.0.10.0020.00516.97
8.0.00.0150.00816.82
7.4.330.0030.00315.03
7.4.320.0060.00016.50
7.4.300.0030.00316.62
7.4.290.0070.00016.51
7.4.280.0040.00416.45
7.4.270.0070.00016.55
7.4.260.0070.00016.41
7.4.250.0100.00016.50
7.4.240.0040.00416.60
7.4.230.0030.00316.30
7.4.220.0100.01016.66
7.4.210.0080.00516.50
7.4.200.0040.00316.43
7.4.160.0070.01016.34
7.4.150.0060.01217.40
7.4.140.0130.00617.86
7.4.130.0060.01116.61
7.4.120.0150.00416.55
7.4.110.0070.01116.61
7.4.100.0070.01416.41
7.4.90.0100.01416.34
7.4.80.0070.01416.42
7.4.70.0070.01016.40
7.4.60.0130.00316.51
7.4.50.0040.00416.64
7.4.40.0030.01316.34
7.4.30.0180.00416.60
7.4.00.0060.00914.77
7.3.330.0000.00513.11
7.3.320.0130.00013.08
7.3.310.0080.00016.13
7.3.300.0060.00016.16
7.3.290.0100.00616.21
7.3.280.0070.00916.22
7.3.270.0150.00617.40
7.3.260.0150.00616.29
7.3.250.0130.00616.35
7.3.240.0170.00316.40
7.3.230.0060.01616.49
7.3.210.0030.01316.31
7.3.200.0060.00919.39
7.3.190.0000.01616.45
7.3.180.0060.01016.49
7.3.170.0130.00616.38
7.3.160.0120.00916.40
7.2.330.0000.01716.57
7.2.320.0110.00616.56
7.2.310.0070.01016.52
7.2.300.0070.01016.57
7.2.290.0190.00316.43
7.2.80.0060.00616.47
7.2.60.0120.00316.82
7.2.00.0060.00919.53
7.1.200.0070.00415.78
7.1.100.0070.00417.87
7.1.70.0040.00417.13
7.1.60.0090.01619.46
7.1.50.0070.01716.50
7.1.00.0070.07322.28
7.0.200.0030.00714.66
7.0.140.0030.03321.93
7.0.60.0130.06319.91
7.0.50.0000.04317.91
7.0.40.0130.03720.16
7.0.30.0300.07320.23
7.0.20.0300.07320.25
7.0.10.0100.07320.18
7.0.00.0100.08020.21
5.6.280.0030.07321.02
5.6.210.0070.06320.51
5.6.200.0000.05018.23
5.6.190.0030.05720.51
5.6.180.0470.03720.57
5.6.170.0300.07320.46
5.6.160.0070.07320.71
5.6.150.0070.04018.18
5.6.140.0030.04318.11
5.6.130.0000.05718.19
5.6.120.0070.06021.09
5.6.110.0100.08021.12
5.6.100.0070.04721.14
5.6.90.0100.07021.00
5.6.80.0130.07320.39
5.5.350.0300.08320.30
5.5.340.0070.09017.99
5.5.330.0030.04020.35
5.5.320.0070.08320.32
5.5.310.0270.08320.27
5.5.300.0070.03718.08
5.5.290.0130.07718.03
5.5.280.0030.08720.98
5.5.270.0130.03020.75
5.5.260.0030.06720.68
5.5.250.0100.06320.70
5.5.240.0100.08020.36
5.4.450.0700.05319.17
5.4.440.0900.06019.47
5.4.430.0800.05719.30
5.4.420.0630.06319.62
5.4.410.0770.06719.42
5.4.400.1000.05019.31
5.4.390.0170.06018.73
5.4.380.0170.06018.80
5.4.370.0170.07318.73
5.4.360.0270.04718.47
5.4.350.0200.05318.63
5.4.340.0370.04018.70
5.4.320.0200.05718.80
5.4.310.0270.05018.80
5.4.300.0230.06718.76
5.4.290.0270.04718.53
5.4.280.0200.05018.77
5.4.270.0200.05018.61
5.4.260.0300.05318.74
5.4.250.0130.06018.63
5.4.240.0170.05718.50
5.4.230.0230.05018.73
5.4.220.0270.05018.55
5.4.210.0170.05318.72
5.4.200.0130.05316.76
5.4.190.0170.05318.51
5.4.180.0170.05318.54
5.4.170.0300.05718.71
5.4.160.0200.05318.76
5.4.150.0170.05318.59
5.4.140.0230.04716.29
5.4.130.0170.05716.25
5.4.120.0270.04716.41
5.4.110.0170.05016.18
5.4.100.0100.06716.33
5.4.90.0130.05316.43
5.4.80.0100.06016.28
5.4.70.0130.06016.41
5.4.60.0170.05016.30
5.4.50.0100.05716.40
5.4.40.0230.04316.25
5.4.30.0200.04716.16
5.4.20.0130.05316.21
5.4.10.0130.05316.14
5.4.00.0100.05715.66
5.3.290.0230.05014.66
5.3.280.0270.04314.61
5.3.270.0200.05314.80
5.3.260.0200.05314.77
5.3.250.0130.05714.64
5.3.240.0070.06714.63
5.3.230.0130.06014.78
5.3.220.0170.05714.79
5.3.210.0130.05714.71
5.3.200.0170.05014.55
5.3.190.0130.05714.56
5.3.180.0200.05714.69
5.3.170.0170.05314.57
5.3.160.0100.06014.73
5.3.150.0130.05714.70
5.3.140.0070.06314.66
5.3.130.0070.07014.68
5.3.120.0200.05714.53
5.3.110.0170.05714.65
5.3.100.0100.06014.26
5.3.90.0130.06014.18
5.3.80.0230.04714.06
5.3.70.0130.05314.04
5.3.60.0170.05014.19
5.3.50.0230.05014.00
5.3.40.0230.04714.06
5.3.30.0130.05714.02
5.3.20.0170.05013.91
5.3.10.0100.05313.82
5.3.00.0200.04713.64
5.2.170.0070.05311.18
5.2.160.0130.04011.20
5.2.150.0070.05011.21
5.2.140.0100.04711.13
5.2.130.0230.03011.05
5.2.120.0200.03711.07
5.2.110.0130.03311.05
5.2.100.0130.03311.13
5.2.90.0100.04011.07
5.2.80.0200.03011.07
5.2.70.0100.05011.05
5.2.60.0170.05711.18
5.2.50.0030.07011.05
5.2.40.0170.03711.00
5.2.30.0100.04311.02
5.2.20.0130.04710.95
5.2.10.0130.04010.86
5.2.00.0170.03710.66
5.1.60.0100.03310.00
5.1.50.0170.03010.12
5.1.40.0100.03710.11
5.1.30.0030.04710.35
5.1.20.0130.03710.36
5.1.10.0130.03710.05
5.1.00.0170.03010.19
5.0.50.0000.0338.54
5.0.40.0100.0278.43
5.0.30.0130.0408.20
5.0.20.0030.0308.38
5.0.10.0070.0308.25
5.0.00.0100.0438.19
4.4.90.0130.0175.86
4.4.80.0100.0175.90
4.4.70.0030.0235.81
4.4.60.0030.0235.89
4.4.50.0030.0235.83
4.4.40.0030.0405.90
4.4.30.0130.0205.87
4.4.20.0030.0235.98
4.4.10.0100.0205.88
4.4.00.0100.0305.85
4.3.110.0100.0205.76
4.3.100.0070.0235.84
4.3.90.0100.0175.92
4.3.80.0100.0335.89
4.3.70.0030.0235.81
4.3.60.0030.0235.80
4.3.50.0100.0205.86
4.3.40.0000.0475.76
4.3.30.0000.0334.59
4.3.20.0030.0304.61
4.3.10.0070.0204.59
4.3.00.0200.01314.42

preferences:
46.58 ms | 401 KiB | 5 Q