3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'one@gmail.com' => [ '70,80', '90,100' ], 'two@gmail.com' => [ '10' ] ]; array_walk($arr, function (&$item, $key) { $item = "key: {$key}". PHP_EOL ."value: " . implode(" ", $item); }); echo implode(PHP_EOL . PHP_EOL, $arr);

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.0100.01018.15
8.3.50.0120.00821.10
8.3.40.0090.00618.80
8.3.30.0120.00318.41
8.3.20.0040.00421.73
8.3.10.0060.00322.00
8.3.00.0040.00423.58
8.2.180.0110.00425.92
8.2.170.0140.00018.79
8.2.160.0140.00020.43
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0000.01020.48
8.2.100.0060.00617.72
8.2.90.0050.00317.75
8.2.80.0000.00818.78
8.2.70.0040.00417.50
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0080.00018.16
8.2.30.0040.00417.97
8.2.20.0000.00718.17
8.2.10.0000.00819.30
8.2.00.0060.00320.55
8.1.280.0190.00025.92
8.1.270.0040.00423.84
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.78
8.1.230.0080.00320.88
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0040.00418.84
8.1.160.0040.00418.85
8.1.150.0040.00418.77
8.1.140.0060.00322.14
8.1.130.0000.00720.20
8.1.120.0040.00417.48
8.1.110.0000.00717.49
8.1.100.0040.00417.48
8.1.90.0040.00417.48
8.1.80.0000.00717.32
8.1.70.0030.00317.46
8.1.60.0040.00417.55
8.1.50.0060.00317.44
8.1.40.0000.00917.50
8.1.30.0080.00017.67
8.1.20.0000.00817.54
8.1.10.0000.01017.45
8.1.00.0030.00917.46
8.0.300.0060.00318.77
8.0.290.0060.00316.75
8.0.280.0000.00718.42
8.0.270.0050.00216.75
8.0.260.0030.00320.06
8.0.250.0070.00016.86
8.0.240.0030.00316.93
8.0.230.0000.00816.81
8.0.220.0040.00416.74
8.0.210.0030.00316.77
8.0.200.0070.00016.95
8.0.190.0060.00316.96
8.0.180.0030.00616.89
8.0.170.0090.00016.78
8.0.160.0040.00416.78
8.0.150.0040.00416.84
8.0.140.0070.00016.84
8.0.130.0000.00613.27
8.0.120.0040.00416.82
8.0.110.0000.00816.70
8.0.100.0040.00416.87
8.0.90.0040.00416.93
8.0.80.0120.00916.76
8.0.70.0030.00516.75
8.0.60.0040.00416.71
8.0.50.0040.00416.70
8.0.30.0090.00817.10
8.0.20.0120.01217.12
8.0.10.0040.00416.91
8.0.00.0120.00616.73
7.4.330.0000.00515.55
7.4.320.0000.00716.39
7.4.300.0030.00316.51
7.4.290.0020.00816.35
7.4.280.0030.00416.54
7.4.270.0000.00716.66
7.4.260.0070.00016.43
7.4.250.0000.00716.38
7.4.240.0030.00416.55
7.4.230.0030.00316.38
7.4.220.0030.00316.57
7.4.210.0060.00916.54
7.4.200.0020.00516.34
7.4.140.0130.00717.86
7.4.130.0170.00716.41
7.4.120.0120.00616.63
7.4.110.0130.01016.29
7.4.100.0100.00616.50
7.4.90.0070.01016.45
7.4.80.0100.01019.39
7.4.70.0070.01016.62
7.4.60.0120.00316.51
7.4.50.0100.00716.46
7.4.40.0120.00416.44
7.4.00.0030.01014.75
7.3.330.0030.00313.24
7.3.320.0030.00313.22
7.3.310.0000.00816.32
7.3.300.0060.00016.25
7.3.290.0020.00516.16
7.3.280.0060.01316.26
7.3.260.0090.00816.45
7.3.240.0090.01016.46
7.3.230.0100.01316.36
7.3.210.0060.01216.50
7.3.200.0050.01116.34
7.3.190.0120.00916.57
7.3.180.0090.00616.48
7.3.170.0140.00716.30
7.3.160.0130.00316.36
7.3.70.0100.00714.68
7.3.60.0070.00714.70
7.3.50.0130.00014.82
7.3.40.0070.00714.55
7.3.30.0110.00314.93
7.3.20.0170.00014.86
7.3.10.0160.00314.81
7.3.00.0140.01114.86
7.2.330.0130.01216.77
7.2.320.0170.00616.46
7.2.310.0070.01016.47
7.2.300.0110.00516.70
7.2.290.0070.01016.44
7.2.200.0100.01014.73
7.2.190.0110.00314.79
7.2.180.0030.01015.02
7.2.170.0060.00714.93
7.2.160.0060.00914.82
7.2.150.0130.00415.08
7.2.140.0140.00315.32
7.2.130.0120.01615.02
7.2.120.0140.00714.82
7.2.110.0190.00014.98
7.2.100.0130.01015.05
7.2.90.0190.00315.19
7.2.80.0120.00914.92
7.2.70.0170.00715.07
7.2.60.0140.01015.05
7.2.50.0200.00414.78
7.2.40.0400.00615.18
7.2.30.0140.00715.19
7.2.20.0150.00615.22
7.2.10.0160.01014.82
7.2.00.0950.00315.06
7.1.300.0030.01614.08
7.1.290.0130.00714.14
7.1.280.0090.00913.97
7.1.270.0100.01013.65
7.1.260.0110.00713.82
7.1.250.0070.00713.97

preferences:
43.13 ms | 401 KiB | 5 Q