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( )) { $iit = $it->getInnerIterator(); var_dump($iit); $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.0090.00618.31
8.3.50.0120.00921.20
8.3.40.0070.00718.72
8.3.30.0110.00320.29
8.3.20.0040.00418.49
8.3.10.0080.00020.92
8.3.00.0050.00319.56
8.2.180.0040.01116.50
8.2.170.0090.00922.96
8.2.160.0120.00620.48
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00321.03
8.2.110.0030.00719.20
8.2.100.0040.00817.72
8.2.90.0000.00919.05
8.2.80.0000.00817.97
8.2.70.0070.00317.50
8.2.60.0000.00817.93
8.2.50.0000.00818.07
8.2.40.0030.00619.88
8.2.30.0040.00419.39
8.2.20.0040.00417.55
8.2.10.0000.00717.69
8.2.00.0050.00317.73
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00321.32
8.1.230.0040.00817.42
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0050.00517.25
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0000.00918.59
8.1.160.0000.00718.75
8.1.150.0080.00018.63
8.1.140.0000.00717.34
8.1.130.0000.00717.70
8.1.120.0000.00717.42
8.1.110.0000.00817.39
8.1.100.0040.00317.44
8.1.90.0040.00417.40
8.1.80.0030.00317.29
8.1.70.0030.00317.27
8.1.60.0080.00017.41
8.1.50.0000.00717.31
8.1.40.0050.00217.50
8.1.30.0080.00017.48
8.1.20.0050.00317.55
8.1.10.0030.00517.51
8.1.00.0110.00017.42
8.0.300.0000.00818.77
8.0.290.0050.00216.63
8.0.280.0070.00018.38
8.0.270.0040.00417.25
8.0.260.0000.00716.69
8.0.250.0030.00616.91
8.0.240.0040.00416.91
8.0.230.0040.00416.78
8.0.220.0030.00316.76
8.0.210.0000.00716.76
8.0.200.0030.00316.78
8.0.190.0000.00716.76
8.0.180.0000.00816.87
8.0.170.0000.00816.85
8.0.160.0000.00716.84
8.0.150.0000.00716.79
8.0.140.0070.00016.77
8.0.130.0000.00513.25
8.0.120.0030.00616.67
8.0.110.0040.00416.86
8.0.100.0000.00816.84
8.0.90.0030.00516.72
8.0.80.0100.00716.78
8.0.70.0070.00016.69
8.0.60.0040.00416.75
8.0.50.0080.00016.84
8.0.30.0090.01017.15
8.0.20.0170.01117.40
8.0.10.0080.00017.06
8.0.00.0110.01516.64
7.4.330.0000.00516.74
7.4.320.0050.00316.55
7.4.300.0040.00416.42
7.4.290.0040.00416.42
7.4.280.0030.00316.57
7.4.270.0060.00016.46
7.4.260.0030.00313.27
7.4.250.0060.00316.50
7.4.240.0030.00316.43
7.4.230.0070.00016.44
7.4.220.0140.00416.58
7.4.210.0060.00816.52
7.4.200.0000.00716.28
7.4.190.0030.00316.50
7.4.160.0070.01016.56
7.4.150.0180.00717.40
7.4.140.0140.00617.86
7.4.130.0080.01016.45
7.4.120.0130.00516.51
7.4.110.0140.01116.44
7.4.100.0060.01216.62
7.4.90.0080.01216.42
7.4.80.0140.00419.39
7.4.70.0070.01116.31
7.4.60.0100.00616.44
7.4.50.0060.00316.50
7.4.40.0080.00622.77
7.4.30.0060.01416.50
7.4.00.0070.01114.91
7.3.330.0020.00213.04
7.3.320.0000.00613.03
7.3.310.0000.00716.22
7.3.300.0030.00316.16
7.3.290.0070.01316.13
7.3.280.0070.01016.16
7.3.270.0120.01217.40
7.3.260.0140.00518.24
7.3.250.0050.01116.26
7.3.240.0140.00316.18
7.3.230.0090.00916.39
7.3.210.0120.00616.13
7.3.200.0070.01519.39
7.3.190.0090.01216.15
7.3.180.0000.01616.23
7.3.170.0060.01016.37
7.3.160.0080.00816.10
7.3.120.0070.01014.65
7.3.110.0070.00914.52
7.3.100.0050.00914.50
7.3.90.0020.01014.76
7.3.80.0100.00714.69
7.3.70.0080.00914.64
7.3.60.0050.00914.63
7.3.50.0050.01014.61
7.3.40.0090.00514.55
7.3.30.0000.01214.62
7.3.20.0070.00716.49
7.3.10.0060.00516.43
7.3.00.0070.00516.63
7.2.330.0070.01116.64
7.2.320.0090.00916.38
7.2.310.0100.01016.32
7.2.300.0050.01416.50
7.2.290.0170.00016.28
7.2.250.0050.01114.87
7.2.240.0080.01015.05
7.2.230.0040.01014.86
7.2.220.0070.01015.06
7.2.210.0080.00615.09
7.2.200.0080.00514.77
7.2.190.0060.00814.96
7.2.180.0020.01314.94
7.2.170.0070.00914.80
7.2.60.0090.00016.75
7.2.00.0070.00718.75
7.1.330.0070.00715.93
7.1.320.0020.01115.80
7.1.310.0060.00915.71
7.1.300.0030.01015.59
7.1.290.0020.01515.80
7.1.280.0060.00415.78
7.1.270.0050.00715.75
7.1.260.0070.00815.60
7.1.200.0000.01015.83
7.1.70.0030.01017.16
7.1.60.0040.01117.23
7.1.50.0040.00816.94
7.1.40.0000.01116.92
7.1.30.0040.00816.92
7.1.20.0060.00616.92
7.1.10.0030.01216.92
7.1.00.0060.00316.92
7.0.200.0030.00816.92
7.0.190.0090.00016.92
7.0.180.0000.00716.92
7.0.170.0040.00416.92
7.0.160.0040.00716.92
7.0.150.0030.00816.92
7.0.140.0040.00416.92
7.0.130.0000.01216.92
7.0.120.0070.00316.92
7.0.110.0070.00316.92
7.0.100.0000.01016.92
7.0.90.0040.00416.92
7.0.80.0030.01216.92
7.0.70.0030.00516.92
7.0.60.0070.00716.92
7.0.50.0030.00616.92
7.0.40.0000.00716.92
7.0.30.0040.00416.92
7.0.20.0000.00716.92
7.0.10.0030.00516.92
7.0.00.0030.00516.92
5.6.300.0030.04420.67
5.6.290.0070.05220.82
5.6.280.0030.08721.07
5.6.270.0030.04121.09
5.6.260.0160.07220.80
5.6.250.0070.04220.98
5.6.240.0000.05020.94
5.6.230.0070.04220.92
5.6.220.0100.04720.89
5.6.210.0070.04521.05
5.6.200.0030.09421.03
5.6.190.0030.04320.73
5.6.180.0070.03620.99
5.6.170.0000.05920.73
5.6.160.0000.06821.02
5.6.150.0070.07520.81
5.6.140.0030.08621.01
5.6.130.0060.04520.84
5.6.120.0000.04820.82
5.6.110.0000.04521.01
5.6.100.0130.03320.80
5.6.90.0030.04820.71
5.6.80.0130.08120.13
5.6.70.0030.03920.19
5.6.60.0070.07920.22
5.6.50.0070.04520.31
5.6.40.0000.04520.30
5.6.30.0070.04120.18
5.6.20.0000.04520.17
5.6.10.0100.03220.34
5.6.00.0030.08220.15
5.5.380.0000.05017.50
5.5.370.0030.05517.45
5.5.360.0030.04417.47
5.5.350.0030.04617.47
5.5.340.0030.04618.04
5.5.330.0100.04917.96
5.5.320.0030.06718.08
5.5.310.0030.04417.96
5.5.300.0030.08018.03
5.5.290.0030.04918.03
5.5.280.0030.04118.12
5.5.270.0000.04618.05
5.5.260.0100.08117.96
5.5.250.0070.03617.84
5.5.240.0060.03517.33
5.5.230.0030.08017.35
5.5.220.0030.08117.41
5.5.210.0000.04817.49
5.5.200.0070.05017.27
5.5.190.0070.04017.30
5.5.180.0000.04117.05
5.5.160.0030.04517.38
5.5.150.0030.03817.38
5.5.140.0030.03817.18
5.5.130.0070.07917.34
5.5.120.0030.04117.37
5.5.110.0000.04517.40
5.5.100.0030.03717.28
5.5.90.0070.03617.36
5.5.80.0000.04017.28
5.5.70.0060.03517.21
5.5.60.0130.03417.27
5.5.50.0030.03717.10
5.5.40.0000.04217.24
5.5.30.0060.03517.07
5.5.20.0100.03417.32
5.5.10.0100.03617.30
5.5.00.0070.05917.29
5.4.450.0070.03819.45
5.4.440.0000.04519.40
5.4.430.0000.04419.39
5.4.420.0030.04319.30
5.4.410.0100.07019.26
5.4.400.0030.06418.98
5.4.390.0140.07419.07
5.4.380.0070.07219.09
5.4.370.0070.04319.05
5.4.360.0030.04018.80
5.4.350.0030.03718.86
5.4.340.0030.03819.07
5.4.320.0060.03619.17
5.4.310.0030.04518.98
5.4.300.0070.06618.91
5.4.290.0070.06418.88
5.4.280.0000.04918.95
5.4.270.0040.04019.01
5.4.260.0000.04719.02
5.4.250.0000.04019.06
5.4.240.0030.03918.85
5.4.230.0130.03719.13
5.4.220.0000.04119.04
5.4.210.0070.05619.00
5.4.200.0100.05718.82
5.4.190.0030.04219.06
5.4.180.0030.03719.04
5.4.170.0060.03219.05
5.4.160.0070.07018.86
5.4.150.0060.03919.15
5.4.140.0000.03816.92
5.4.130.0030.03916.92
5.4.120.0030.04716.92
5.4.110.0000.03816.92
5.4.100.0030.03816.92
5.4.90.0030.03516.92
5.4.80.0030.04016.92
5.4.70.0000.03816.92
5.4.60.0030.03416.92
5.4.50.0030.04016.92
5.4.40.0030.03416.92
5.4.30.0070.05916.92
5.4.20.0000.04316.92
5.4.10.0060.03716.92
5.4.00.0000.03716.92
5.3.290.0060.03816.92
5.3.280.0000.04316.92
5.3.270.0000.05116.92
5.3.260.0000.05116.92
5.3.250.0030.03716.92
5.3.240.0070.03516.92
5.3.230.0060.03516.92
5.3.220.0000.04016.92
5.3.210.0000.05216.92
5.3.200.0030.04616.92
5.3.190.0060.03516.92
5.3.180.0030.03616.92
5.3.170.0030.04516.92
5.3.160.0000.04016.92
5.3.150.0030.03516.92
5.3.140.0030.03516.92
5.3.130.0030.04016.92
5.3.120.0030.05116.92
5.3.110.0100.03216.92
5.3.100.0070.03416.92
5.3.90.0030.03616.92
5.3.80.0070.03016.92
5.3.70.0000.03816.92
5.3.60.0070.03316.92
5.3.50.0060.06116.92
5.3.40.0030.03616.92
5.3.30.0060.03116.92
5.3.20.0000.03516.92
5.3.10.0070.03016.92
5.3.00.0030.03416.92
5.2.170.0000.03416.92
5.2.160.0000.03716.92
5.2.150.0030.02816.92
5.2.140.0030.02716.92
5.2.130.0000.02916.92
5.2.120.0000.03116.92
5.2.110.0030.02816.92
5.2.100.0000.03016.92
5.2.90.0070.02616.92
5.2.80.0070.04216.92
5.2.70.0030.02716.92
5.2.60.0030.02816.92
5.2.50.0000.05716.92
5.2.40.0000.03016.92
5.2.30.0000.03116.92
5.2.20.0030.03416.92
5.2.10.0170.03316.92
5.2.00.0030.02716.92
5.1.60.0000.02816.92
5.1.50.0060.02816.92
5.1.40.0030.03416.92
5.1.30.0000.04916.92
5.1.20.0040.03216.92
5.1.10.0000.05416.92
5.1.00.0000.03116.92
5.0.50.0000.02916.92
5.0.40.0000.02416.92
5.0.30.0000.04716.92
5.0.20.0070.01616.92
5.0.10.0000.02316.92
5.0.00.0060.02616.92
4.4.90.0000.02116.92
4.4.80.0000.01816.92
4.4.70.0000.02016.92
4.4.60.0040.01416.92
4.4.50.0030.01516.92
4.4.40.0000.02516.92
4.4.30.0030.01316.92
4.4.20.0000.01716.92
4.4.10.0060.01316.92
4.4.00.0000.03116.92
4.3.110.0040.01516.92
4.3.100.0060.01016.92
4.3.90.0100.02116.92
4.3.80.0030.02316.92
4.3.70.0000.01916.92
4.3.60.0000.01616.92
4.3.50.0000.01616.92
4.3.40.0000.02416.92
4.3.30.0030.01516.92
4.3.20.0040.01616.92
4.3.10.0000.01816.92
4.3.00.0000.01816.92

preferences:
50.39 ms | 400 KiB | 5 Q