3v4l.org

run code in 300+ PHP versions simultaneously
<?php $multidim = array( 0 => array( 'width' => 444, 'height' => 555, 'name' => 'testname', ) ); $it = new \RecursiveIteratorIterator( new \RecursiveArrayIterator( $multidim ) ); while ( $it->valid( )) { echo $it->current(); $it->next(); }

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.0120.00318.56
8.3.50.0110.00821.27
8.3.40.0110.01118.71
8.3.30.0070.00720.31
8.3.20.0080.00018.77
8.3.10.0030.00521.14
8.3.00.0080.00019.66
8.2.180.0070.00716.63
8.2.170.0120.00322.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.00
8.2.110.0030.00620.35
8.2.100.0090.00317.91
8.2.90.0080.00019.21
8.2.80.0080.00017.97
8.2.70.0080.00317.50
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0000.00818.16
8.2.30.0040.00419.56
8.2.20.0040.00417.71
8.2.10.0000.00717.60
8.2.00.0040.00417.59
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00826.35
8.1.250.0030.00528.09
8.1.240.0090.00022.49
8.1.230.0110.00020.85
8.1.220.0040.00418.77
8.1.210.0030.00518.85
8.1.200.0060.00317.13
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0070.00018.83
8.1.150.0030.00718.57
8.1.140.0070.00017.36
8.1.130.0030.00317.85
8.1.120.0040.00417.31
8.1.110.0050.00317.39
8.1.100.0000.00817.32
8.1.90.0000.00717.45
8.1.80.0040.00417.28
8.1.70.0000.00817.39
8.1.60.0000.01017.43
8.1.50.0050.00217.46
8.1.40.0040.00417.48
8.1.30.0050.00217.58
8.1.20.0050.00317.54
8.1.10.0070.00017.53
8.1.00.0030.00917.44
8.0.300.0000.00720.02
8.0.290.0040.00417.28
8.0.280.0030.00318.46
8.0.270.0050.00517.26
8.0.260.0060.00016.77
8.0.250.0000.00716.97
8.0.240.0030.00516.95
8.0.230.0000.00716.95
8.0.220.0030.00316.88
8.0.210.0070.00016.90
8.0.200.0000.00616.85
8.0.190.0030.00417.00
8.0.180.0000.00716.82
8.0.170.0050.00316.84
8.0.160.0000.00716.79
8.0.150.0040.00416.87
8.0.140.0000.00716.84
8.0.130.0000.00613.34
8.0.120.0080.00016.76
8.0.110.0040.00416.85
8.0.100.0000.00716.89
8.0.90.0000.00816.96
8.0.80.0090.00616.89
8.0.70.0000.00716.96
8.0.60.0050.00217.01
8.0.50.0040.00416.88
8.0.30.0060.01217.07
8.0.20.0140.00817.40
8.0.10.0040.00416.98
8.0.00.0130.00616.86
7.4.330.0000.00516.69
7.4.320.0000.00616.55
7.4.300.0040.00416.52
7.4.290.0030.00316.52
7.4.280.0030.00316.48
7.4.270.0050.00316.34
7.4.260.0050.00013.33
7.4.250.0050.00216.55
7.4.240.0030.00416.30
7.4.230.0070.00016.55
7.4.220.0100.01016.43
7.4.210.0060.00816.54
7.4.200.0000.00716.32
7.4.190.0070.00016.50
7.4.160.0140.01116.45
7.4.150.0070.01017.40
7.4.140.0070.01217.86
7.4.130.0140.00316.46
7.4.120.0120.00516.41
7.4.110.0120.00616.54
7.4.100.0160.00016.53
7.4.90.0110.00816.34
7.4.80.0100.01019.39
7.4.70.0060.00916.54
7.4.60.0100.00716.51
7.4.50.0030.00316.52
7.4.40.0000.01722.77
7.4.30.0080.00816.44
7.4.00.0060.01015.07
7.3.330.0000.00613.06
7.3.320.0000.00513.05
7.3.310.0030.00316.27
7.3.300.0030.00316.23
7.3.290.0070.00716.32
7.3.280.0080.00916.16
7.3.270.0030.01717.40
7.3.260.0080.01318.24
7.3.250.0070.01316.34
7.3.240.0110.00616.27
7.3.230.0110.00716.39
7.3.210.0100.00716.24
7.3.200.0100.00719.39
7.3.190.0090.00916.30
7.3.180.0090.00616.33
7.3.170.0090.00916.29
7.3.160.0070.01016.38
7.3.120.0060.00914.60
7.2.330.0110.00616.47
7.2.320.0180.00016.41
7.2.310.0080.01216.27
7.2.300.0030.01316.52
7.2.290.0100.00616.67
7.2.00.0030.00919.13
7.1.100.0030.01318.01
7.1.70.0030.00617.11
7.1.60.0120.01219.24
7.1.50.0000.01516.75
7.1.00.0000.03722.45
7.0.200.0030.00716.70
7.0.140.0130.06321.99
7.0.60.0070.07319.73
7.0.50.0070.05317.83
7.0.40.0030.04320.03
7.0.30.0100.04720.34
7.0.20.0300.05720.34
7.0.10.0130.08320.17
7.0.00.0070.05020.28
5.6.280.0000.07720.85
5.6.210.0070.08020.45
5.6.200.0100.05718.08
5.6.190.0030.06020.57
5.6.180.0370.04320.66
5.6.170.0270.04320.48
5.6.160.0170.05320.45
5.6.150.0100.08018.11
5.6.140.0070.08318.18
5.6.130.0100.04718.12
5.6.120.0000.04720.94
5.6.110.0100.08721.12
5.6.100.0030.04720.98
5.6.90.0170.05720.99
5.6.80.0230.06320.35
5.5.350.0270.08720.48
5.5.340.0130.07018.01
5.5.330.0030.04320.37
5.5.320.0270.04020.17
5.5.310.0470.06020.29
5.5.300.0100.07718.00
5.5.290.0000.04717.98
5.5.280.0030.04320.80
5.5.270.0130.07720.80
5.5.260.0030.07020.96
5.5.250.0130.08020.61
5.5.240.0030.07020.11
5.4.450.0200.05019.53
5.4.440.0230.04019.40
5.4.430.0270.07319.40
5.4.420.0230.04319.48
5.4.410.0330.03319.35
5.4.400.0270.05719.16
5.4.390.0230.06718.92
5.4.380.0300.06019.07
5.4.370.0230.05019.22
5.4.360.0330.05719.13
5.4.350.0300.05019.24
5.4.340.0230.04019.16
5.4.320.0230.07018.92
5.4.310.0170.05318.88
5.4.300.0200.04719.21
5.4.290.0200.05019.06
5.4.280.0270.04318.93
5.4.270.0300.06718.78
5.4.260.0300.06718.91
5.4.250.0200.07718.84
5.4.240.0230.05319.08
5.4.230.0300.03019.21
5.4.220.0230.05718.92
5.4.210.0230.07018.80
5.4.200.0170.07718.78
5.4.190.0170.07319.08
5.4.180.0170.03719.12
5.4.170.0230.07018.87
5.4.160.0170.03719.14
5.4.150.0200.06719.06
5.4.140.0170.04316.18
5.4.130.0130.06716.32
5.4.120.0170.04316.34
5.4.110.0230.07016.48
5.4.100.0330.06016.28
5.4.90.0170.07316.50
5.4.80.0230.06716.38
5.4.70.0330.04316.23
5.4.60.0270.05016.37
5.4.50.0270.06016.18
5.4.40.0270.04716.43
5.4.30.0230.03316.20
5.4.20.0270.06016.36
5.4.10.0270.06716.36
5.4.00.0230.07015.84
5.3.290.0230.03314.51
5.3.280.0230.05014.42
5.3.270.0430.04314.44
5.3.260.0130.04714.44
5.3.250.0230.07714.70
5.3.240.0200.03714.55
5.3.230.0130.04314.68
5.3.220.0230.03314.65
5.3.210.0170.04314.40
5.3.200.0230.04314.42
5.3.190.0270.03714.59
5.3.180.0230.04714.65
5.3.170.0200.05314.40
5.3.160.0200.04314.50
5.3.150.0200.05314.61
5.3.140.0200.05714.50
5.3.130.0270.07314.64
5.3.120.0170.04714.40
5.3.110.0230.06014.52
5.3.100.0270.06713.98
5.3.90.0270.06014.11
5.3.80.0230.06313.95
5.3.70.0200.07714.06
5.3.60.0170.05013.95
5.3.50.0130.04013.95
5.3.40.0170.04313.97
5.3.30.0200.07013.95
5.3.20.0170.04313.95
5.3.10.0270.07013.95
5.3.00.0170.04313.95
5.2.170.0170.05713.95
5.2.160.0170.04013.95
5.2.150.0200.05713.95
5.2.140.0170.03013.95
5.2.130.0200.04013.95
5.2.120.0230.03013.95
5.2.110.0230.03013.95
5.2.100.0170.04313.95
5.2.90.0200.05313.95
5.2.80.0200.06313.95
5.2.70.0230.05713.95
5.2.60.0200.05013.95
5.2.50.0100.04013.95
5.2.40.0070.03313.95
5.2.30.0170.06313.95
5.2.20.0230.05013.95
5.2.10.0200.05713.95
5.2.00.0100.04313.95
5.1.60.0170.05313.95
5.1.50.0170.04313.95
5.1.40.0170.05013.95
5.1.30.0130.03013.95
5.1.20.0200.02313.95
5.1.10.0100.04013.95
5.1.00.0170.05013.95
5.0.50.0030.05013.95
5.0.40.0130.03713.95
5.0.30.0100.04713.95
5.0.20.0030.03013.95
5.0.10.0070.04313.95
5.0.00.0100.06013.95
4.4.90.0130.03313.95
4.4.80.0130.01713.95
4.4.70.0030.02713.95
4.4.60.0130.02713.95
4.4.50.0100.03313.95
4.4.40.0070.04713.95
4.4.30.0100.02713.95
4.4.20.0100.02013.95
4.4.10.0070.02713.95
4.4.00.0030.02713.95
4.3.110.0100.03313.95
4.3.100.0070.02013.95
4.3.90.0100.03313.95
4.3.80.0100.04713.95
4.3.70.0070.03313.95
4.3.60.0100.02713.95
4.3.50.0070.02013.95
4.3.40.0070.03013.95
4.3.30.0100.03013.95
4.3.20.0070.02013.95
4.3.10.0030.03313.95
4.3.00.0070.03013.95

preferences:
42.11 ms | 401 KiB | 5 Q