3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ 'wd[wd5][amount]' => 1.00, 'wd[wd5][address]' => '1BitcoinAddress', 'wd[wd5][currency]' => 'BTC', ], [ 'wd[wd7][amount]' => 1.00, 'wd[wd7][address]' => '1BitcoinAddress', 'wd[wd7][currency]' => 'BTC' ], ]; $result = []; foreach(new RecursiveIteratorIterator( new RecursiveArrayIterator($array) ) as $key => $value) { $result[$key] = $value; } print_r($result);

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.4.130.0070.00317.58
8.4.120.0120.00822.36
8.4.110.0110.01122.50
8.4.100.0110.00917.48
8.4.90.0100.00818.52
8.4.80.0080.00817.68
8.4.70.0030.00517.88
8.4.60.0100.01020.52
8.4.50.0140.00619.59
8.4.40.0030.00617.83
8.4.30.0100.01017.66
8.4.20.0030.01719.61
8.4.10.0090.00019.41
8.3.260.0130.00716.53
8.3.250.0140.00419.16
8.3.240.0140.00516.45
8.3.230.0130.00616.45
8.3.220.0060.00217.16
8.3.210.0110.00716.72
8.3.200.0050.00416.62
8.3.190.0100.00417.22
8.3.180.0120.00716.51
8.3.170.0110.00819.02
8.3.160.0060.01216.50
8.3.150.0120.00920.68
8.3.140.0110.00416.49
8.3.130.0030.00518.30
8.3.120.0040.00420.62
8.3.110.0070.00320.94
8.3.100.0100.01024.06
8.3.90.0030.00526.77
8.3.80.0060.00318.30
8.3.70.0040.01118.55
8.3.60.0120.00918.30
8.3.50.0100.01018.28
8.3.40.0070.01418.70
8.3.30.0100.00618.79
8.3.20.0060.00320.30
8.3.10.0040.00421.98
8.3.00.0040.00421.78
8.2.290.0080.00522.50
8.2.280.0130.00919.90
8.2.270.0090.00917.44
8.2.260.0040.01418.55
8.2.250.0040.00416.45
8.2.240.0060.00317.14
8.2.230.0070.01022.58
8.2.220.0080.00037.54
8.2.210.0080.00026.77
8.2.200.0030.00716.50
8.2.190.0040.01116.58
8.2.180.0120.00316.50
8.2.170.0120.00619.08
8.2.160.0070.01022.17
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00020.95
8.2.120.0080.00026.35
8.2.110.0030.00619.08
8.2.100.0090.00319.35
8.2.90.0030.00617.75
8.2.80.0040.00418.73
8.2.70.0030.00617.63
8.2.60.0040.00418.05
8.2.50.0080.00018.07
8.2.40.0040.00419.91
8.2.30.0070.00018.05
8.2.20.0040.00418.14
8.2.10.0040.00418.11
8.2.00.0080.00018.00
8.1.330.0120.00721.78
8.1.320.0140.00516.21
8.1.310.0040.00416.50
8.1.300.0030.00617.71
8.1.290.0090.00030.84
8.1.280.0110.00325.92
8.1.270.0040.00420.38
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00619.21
8.1.230.0080.00417.83
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0070.00317.13
8.1.190.0040.00417.25
8.1.180.0000.00818.75
8.1.170.0050.00318.54
8.1.160.0000.00718.94
8.1.150.0050.00320.19
8.1.140.0040.00417.63
8.1.130.0030.00719.08
8.1.120.0030.00617.38
8.1.110.0070.00017.31
8.1.100.0050.00317.47
8.1.90.0000.00717.34
8.1.80.0030.00517.48
8.1.70.0070.00017.46
8.1.60.0040.00417.55
8.1.50.0040.00417.55
8.1.40.0000.00917.41
8.1.30.0040.00717.57
8.1.20.0060.00317.64
8.1.10.0080.00417.57
8.1.00.0050.00517.43
8.0.300.0060.00318.77
8.0.290.0070.00016.63
8.0.280.0000.00918.43
8.0.270.0030.00317.18
8.0.260.0000.00618.39
8.0.250.0060.00016.96
8.0.240.0050.00316.98
8.0.230.0050.00316.95
8.0.220.0000.00716.88
8.0.210.0030.00316.96
8.0.200.0060.00017.00
8.0.190.0040.00416.86
8.0.180.0000.00816.88
8.0.170.0020.00516.92
8.0.160.0030.00516.95
8.0.150.0040.00416.75
8.0.140.0040.00416.93
8.0.130.0030.00313.32
8.0.120.0040.00416.72
8.0.110.0070.00016.89
8.0.100.0070.00016.78
8.0.90.0000.00816.79
8.0.80.0000.01516.93
8.0.70.0070.00016.82
8.0.60.0000.00716.93
8.0.50.0050.00216.89
8.0.30.0090.01016.94
8.0.20.0060.01317.40
8.0.10.0040.00416.93
8.0.00.0160.00616.88
7.4.330.0020.00215.55
7.4.320.0000.00616.52
7.4.300.0000.00616.58
7.4.290.0070.00016.63
7.4.280.0000.00816.61
7.4.270.0030.00316.41
7.4.260.0030.00316.48
7.4.250.0050.00316.56
7.4.240.0040.00416.54
7.4.230.0070.00016.72
7.4.220.0140.00416.54
7.4.210.0060.00916.69
7.4.200.0000.00816.69
7.4.160.0050.01216.39
7.4.150.0150.00317.40
7.4.140.0090.01117.86
7.4.130.0090.00916.57
7.4.120.0110.00716.52
7.4.110.0140.00916.50
7.4.100.0110.00616.55
7.4.90.0120.00916.46
7.4.80.0030.01619.39
7.4.70.0100.01416.48
7.4.60.0100.00616.54
7.4.50.0070.00716.57
7.4.40.0130.00316.60
7.4.30.0030.01316.66
7.4.00.0000.01314.86
7.3.330.0030.00313.27
7.3.320.0050.00013.08
7.3.310.0000.00716.28
7.3.300.0030.00316.39
7.3.290.0070.00816.40
7.3.280.0100.00616.34
7.3.270.0100.00717.40
7.3.260.0100.01316.42
7.3.250.0130.00716.48
7.3.240.0090.00816.46
7.3.230.0100.00716.59
7.3.210.0120.00816.41
7.3.200.0130.00716.31
7.3.190.0040.01316.31
7.3.180.0080.00816.50
7.3.170.0170.00016.65
7.3.160.0130.00316.51
7.2.330.0070.01016.85
7.2.320.0030.01516.47
7.2.310.0100.00716.80
7.2.300.0090.00616.63
7.2.290.0180.00016.57
7.2.60.0070.00417.05
7.1.200.0030.00715.56
7.1.100.0100.01116.25
7.1.90.2150.00316.46
7.1.80.1150.00316.45
7.1.70.1460.00315.18
7.1.60.0190.01235.09
7.1.50.0210.00634.76
7.1.40.0160.01334.41
7.1.30.0110.01834.52
7.1.20.0170.01334.46
7.1.10.0030.01016.51
7.1.00.0030.01016.75
7.0.240.1760.00715.99
7.0.230.1300.00615.64
7.0.220.1420.00615.89
7.0.210.1170.00916.41
7.0.200.0080.00616.98
7.0.190.0110.00416.80
7.0.180.0060.00916.29
7.0.170.0000.01316.17
7.0.160.0100.00316.48
7.0.150.0030.01216.39
7.0.140.0080.00616.47
7.0.130.0040.01416.54
7.0.120.0040.01416.75
7.0.110.0070.00716.28
7.0.100.0090.00616.14
7.0.90.0060.00816.43
7.0.80.0070.00716.20
7.0.70.0030.01016.34
7.0.60.0040.01016.34
7.0.50.0090.00616.45
7.0.40.0040.01116.54
7.0.30.0030.01016.70
7.0.20.0030.01416.37
7.0.10.0000.01316.59
7.0.00.0040.01116.52

preferences:
139.43 ms | 403 KiB | 5 Q