3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = ['$and'=> ['task.discriminator' => 'filippo', 'status.deleted' => 'asdf']]; $iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator($arr)); $keys = array(); foreach ($iterator as $key => $value) { $keys[] = $key; } var_export($keys);

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.40.0070.01018.88
8.3.30.0070.01018.81
8.3.20.0040.00422.10
8.3.10.0060.00321.76
8.3.00.0040.00423.48
8.2.170.0090.01222.96
8.2.160.0100.00319.46
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00422.21
8.2.120.0050.00326.35
8.2.110.0190.00322.25
8.2.100.0100.00317.77
8.2.90.0040.00419.10
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0000.00817.93
8.2.50.0030.00518.10
8.2.40.0040.00420.52
8.2.30.0050.00319.23
8.2.20.0050.00218.12
8.2.10.0000.00818.30
8.2.00.0030.00318.28
8.1.270.0080.00020.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.88
8.1.230.0100.00017.76
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0000.00917.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0050.00321.92
8.1.160.0050.00218.85
8.1.150.0040.00421.98
8.1.140.0040.00419.58
8.1.130.0000.00719.05
8.1.120.0070.00317.46
8.1.110.0030.00517.51
8.1.100.0030.00517.36
8.1.90.0000.00817.37
8.1.80.0000.00817.49
8.1.70.0000.00717.43
8.1.60.0050.00317.57
8.1.50.0040.00417.48
8.1.40.0060.00317.44
8.1.30.0040.00417.63
8.1.20.0000.00717.55
8.1.10.0000.00817.50
8.1.00.0050.00217.52
8.0.300.0060.00318.77
8.0.290.0000.00816.75
8.0.280.0000.00718.38
8.0.270.0060.00317.26
8.0.260.0030.00317.31
8.0.250.0110.00016.96
8.0.240.0000.00816.95
8.0.230.0000.00717.00
8.0.220.0000.00716.86
8.0.210.0070.00016.78
8.0.200.0030.00316.93
8.0.190.0000.00717.00
8.0.180.0040.00416.91
8.0.170.0050.00216.80
8.0.160.0040.00316.94
8.0.150.0000.00816.80
8.0.140.0030.00316.91
8.0.130.0000.00913.41
8.0.120.0040.00416.75
8.0.110.0040.00416.78
8.0.100.0000.00716.87
8.0.90.0050.00316.88
8.0.80.0120.00316.84
8.0.70.0040.00416.94
8.0.60.0000.00716.82
8.0.50.0050.00216.79
8.0.30.0090.01017.21
8.0.20.0120.00617.40
8.0.10.0000.00717.05
8.0.00.0090.00916.73
7.4.330.0050.00015.55
7.4.320.0060.00016.41
7.4.300.0030.00316.52
7.4.290.0030.00316.63
7.4.280.0060.00316.43
7.4.270.0040.00416.52
7.4.260.0070.00016.46
7.4.250.0050.00316.48
7.4.240.0030.00316.42
7.4.230.0030.00316.70
7.4.220.0090.00816.64
7.4.210.0100.00916.58
7.4.200.0030.00316.51
7.4.160.0090.00816.43
7.4.150.0070.01417.40
7.4.140.0100.01217.86
7.4.130.0120.01016.57
7.4.120.0120.00816.56
7.4.110.0070.01116.47
7.4.100.0120.00416.75
7.4.90.0130.00716.51
7.4.80.0130.01019.39
7.4.70.0150.00316.32
7.4.60.0060.01016.40
7.4.50.0120.00316.52
7.4.40.0130.00316.48
7.4.30.0060.01216.48
7.4.10.0060.01215.15
7.4.00.0100.00715.07
7.3.330.0000.00613.11
7.3.320.0000.00513.11
7.3.310.0040.00416.11
7.3.300.0060.00016.08
7.3.290.0030.00316.19
7.3.280.0080.01016.29
7.3.270.0180.00017.40
7.3.260.0110.01016.40
7.3.250.0090.00916.22
7.3.240.0110.00616.49
7.3.230.0130.01016.50
7.3.210.0090.00916.38
7.3.200.0090.00616.65
7.3.190.0060.00916.66
7.3.180.0090.00616.54
7.3.170.0030.01316.23
7.3.160.0030.01316.51
7.3.130.0060.01314.66
7.3.120.0120.00614.66
7.3.110.0040.01814.72
7.3.100.0060.01314.55
7.3.90.0100.00614.99
7.3.80.0060.00614.80
7.3.70.0040.01114.87
7.3.60.0070.01114.92
7.3.50.0030.01214.92
7.3.40.0030.00614.86
7.3.30.0060.00914.82
7.3.20.0040.01116.77
7.3.10.0080.00416.77
7.3.00.0040.01216.80
7.2.330.0070.01116.45
7.2.320.0070.01016.48
7.2.310.0120.00316.88
7.2.300.0130.01016.68
7.2.290.0140.00316.66
7.2.260.0090.00915.29
7.2.250.0060.01215.07
7.2.240.0070.00715.16
7.2.230.0000.01815.31
7.2.220.0100.00715.19
7.2.210.0030.00614.95
7.2.200.0070.01015.20
7.2.190.0090.00615.15
7.2.180.0000.01315.18
7.2.170.0060.01015.05
7.2.160.0000.01315.00
7.2.150.0070.01016.83
7.2.140.0100.00716.68
7.2.130.0030.01316.93
7.2.120.0030.01017.02
7.2.110.0030.00816.80
7.2.100.0030.00717.00
7.2.90.0040.01116.80
7.2.80.0070.00716.79
7.2.70.0000.01316.98
7.2.60.0030.01716.79
7.2.50.0000.01617.08
7.2.40.0040.01516.93
7.2.30.0080.00416.93
7.2.20.0060.00916.66
7.2.10.0060.00916.86
7.2.00.0030.01016.99
7.1.330.0070.01015.92
7.1.320.0040.01215.71
7.1.310.0000.01515.79
7.1.300.0030.01315.81
7.1.290.0000.01215.95
7.1.280.0110.00315.72
7.1.270.0120.00315.78
7.1.260.0060.00615.91
7.1.250.0090.00616.01
7.1.240.0140.00016.04
7.1.230.0060.00615.64
7.1.220.0000.01115.77
7.1.210.0060.00915.70
7.1.200.0130.00315.78
7.1.190.0090.00615.82
7.1.180.0040.00815.71
7.1.170.0100.00315.88
7.1.160.0100.00715.84
7.1.150.0110.00415.63
7.1.140.0090.00916.02
7.1.130.0090.00915.56
7.1.120.0030.01015.47
7.1.110.0140.00015.54
7.1.100.0060.00915.80
7.1.90.0070.00715.73
7.1.80.0130.00315.77
7.1.70.0040.00816.47
7.1.60.0000.01316.56
7.1.50.0050.00515.96
7.1.40.0200.05027.03
7.1.30.0190.01024.34
7.1.20.0130.01524.23
7.1.10.1880.01415.29
7.1.00.0050.01015.11
7.0.330.0100.00715.43
7.0.320.0070.01015.19
7.0.310.0060.00915.42
7.0.300.0000.01515.22
7.0.290.0030.00815.21
7.0.280.0070.01015.39
7.0.270.0100.00715.44
7.0.260.0110.00315.23
7.0.250.0000.01015.55
7.0.240.0040.00815.36
7.0.230.0100.00315.52
7.0.220.0000.01515.40
7.0.210.0100.00315.23
7.0.200.0040.01216.20
7.0.190.0000.00915.58
7.0.180.0090.00315.30
7.0.170.0030.01314.78
7.0.160.0030.01714.88
7.0.150.1780.01014.75
7.0.140.0120.01014.91
7.0.130.1930.01015.11
7.0.120.0100.00515.07
7.0.110.0110.00515.06
7.0.100.0080.00614.85
7.0.90.1820.01014.90
7.0.80.0100.01015.08
7.0.70.0050.01114.86
7.0.60.1550.01414.90
7.0.50.1520.00814.98
7.0.40.0030.01114.10
7.0.30.0050.01014.10
7.0.20.1270.01414.07
7.0.10.1300.01314.16
7.0.00.1620.01913.93
5.6.400.0050.00314.41
5.6.390.0140.00014.38
5.6.380.0090.00914.47
5.6.370.0040.00814.41
5.6.360.0130.00614.62
5.6.350.0080.00014.53
5.6.340.0000.01314.05
5.6.330.0110.00414.31
5.6.320.0060.00914.79
5.6.310.0040.00714.59
5.6.300.0070.00714.45
5.6.290.0000.01514.46
5.6.280.0080.00414.61
5.6.270.0070.00314.54
5.6.260.0030.00514.55
5.6.250.0090.00314.35
5.6.240.0030.00914.47
5.6.230.0030.01214.42
5.6.220.0000.01814.46
5.6.210.0040.00814.42
5.6.200.0000.00914.63
5.6.190.0030.01014.52
5.6.180.0000.01014.30
5.6.170.0060.00614.38
5.6.160.0040.01514.66
5.6.150.0110.00714.21
5.6.140.0040.01414.46
5.6.130.0030.00714.29
5.6.120.0050.00514.33
5.6.110.0040.00814.16
5.6.100.0030.00714.18
5.6.90.0060.00814.24
5.6.80.0030.01014.33
5.6.70.0100.00314.29
5.6.60.0070.00714.12
5.6.50.0000.01614.60
5.6.40.0140.00414.48
5.6.30.0110.00714.26
5.6.20.0110.00714.43
5.6.10.0060.00314.43
5.6.00.0060.00614.17

preferences:
59.95 ms | 400 KiB | 5 Q