3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parent = [ 1 => Array ( 0 => 'test1', 1 => 'test2' ), 2 => Array ( 0 => 'test1_1', 1 => 'test2_2' ) ]; var_export( array_combine(array_keys($parent), array_map(null, ...$parent)) );

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.0100.01018.89
8.4.120.0080.01323.94
8.4.110.0100.00622.32
8.4.100.0100.01117.67
8.4.90.0110.01019.50
8.4.80.0130.00817.56
8.4.70.0110.00917.43
8.4.60.0090.01118.46
8.4.50.0120.00619.35
8.4.40.0130.00719.60
8.4.30.0190.00020.66
8.4.20.0070.01317.86
8.4.10.0100.01023.75
8.3.260.0130.00616.36
8.3.250.0100.00818.86
8.3.240.0100.00916.81
8.3.230.0100.00716.50
8.3.220.0120.00316.89
8.3.210.0090.00916.39
8.3.200.0060.00216.73
8.3.190.0140.00616.21
8.3.180.0140.00616.24
8.3.170.0160.00316.84
8.3.160.0140.00416.60
8.3.150.0110.00717.12
8.3.140.0090.00619.04
8.3.130.0080.00018.13
8.3.120.0000.01520.68
8.3.110.0060.00316.74
8.3.100.0120.00416.22
8.3.90.0060.00326.77
8.3.80.0030.01016.63
8.3.70.0110.00716.58
8.3.60.0040.01118.08
8.3.50.0090.01319.91
8.3.40.0030.01022.09
8.3.30.0160.00018.39
8.3.20.0050.00224.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0110.00720.64
8.2.280.0120.00720.50
8.2.270.0130.00716.60
8.2.260.0080.00018.75
8.2.250.0120.00316.62
8.2.240.0040.00417.17
8.2.230.0000.00920.94
8.2.220.0080.00024.06
8.2.210.0070.00726.77
8.2.200.0090.00018.41
8.2.190.0150.00018.16
8.2.180.0170.00325.92
8.2.170.0140.00718.71
8.2.160.0060.01222.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0030.00622.19
8.2.100.0060.00617.59
8.2.90.0080.00017.63
8.2.80.0080.00018.84
8.2.70.0050.00317.90
8.2.60.0000.00718.03
8.2.50.0050.00318.10
8.2.40.0070.00019.22
8.2.30.0000.00918.06
8.2.20.0000.00719.15
8.2.10.0050.00218.11
8.2.00.0040.00419.23
8.1.330.0060.00320.21
8.1.320.0120.00615.81
8.1.310.0000.01518.34
8.1.300.0030.00616.10
8.1.290.0060.00330.84
8.1.280.0150.00325.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00418.80
8.1.230.0080.00317.77
8.1.220.0040.00417.77
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0050.00317.53
8.1.180.0060.00318.10
8.1.170.0000.00918.50
8.1.160.0070.00018.87
8.1.150.0000.00818.45
8.1.140.0040.00417.43
8.1.130.0060.00318.79
8.1.120.0030.00517.30
8.1.110.0060.00317.32
8.1.100.0160.00017.33
8.1.90.0040.00817.33
8.1.80.0160.00017.28
8.1.70.0100.00717.38
8.1.60.0030.01317.48
8.1.50.0160.00417.45
8.1.40.0190.00017.40
8.1.30.0150.00317.48
8.1.20.0150.00417.61
8.1.10.0160.00417.41
8.1.00.0120.00817.41
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0070.00018.29
8.0.270.0000.00816.75
8.0.260.0050.00218.29
8.0.250.0030.00516.93
8.0.240.0090.00016.76
8.0.230.0120.00216.89
8.0.220.0060.00916.72
8.0.210.0060.00816.83
8.0.200.0090.00316.85
8.0.190.0100.00516.89
8.0.180.0000.01316.75
8.0.170.0000.01216.82
8.0.160.0140.00016.70
8.0.150.0090.00416.79
8.0.140.0100.00316.61
8.0.130.0080.00816.73
8.0.120.0110.00516.75
8.0.110.0100.00516.70
8.0.100.0090.00616.77
8.0.90.0120.00016.76
8.0.80.0120.00216.86
8.0.70.0040.00816.61
8.0.60.0100.00316.69
8.0.50.0070.00716.75
8.0.30.0090.00616.64
8.0.20.0050.00916.90
8.0.10.0150.00016.89
7.4.330.0040.00015.55
7.4.320.0000.00716.48
7.4.300.0050.01016.48
7.4.290.0130.00316.53
7.4.280.0130.00416.40
7.4.270.0180.00016.52
7.4.260.0120.00616.48
7.4.250.0130.00316.41
7.4.240.0110.00516.40
7.4.230.0110.00416.38
7.4.220.0070.00716.42
7.4.210.0070.00716.54
7.4.200.0110.00016.30
7.4.190.0030.00616.38
7.4.180.0050.00516.20
7.4.160.0100.00016.46
7.4.150.0080.00316.22
7.4.140.0040.00415.91
7.4.130.0120.00016.13
7.4.120.0110.00316.23
7.4.110.0070.00716.21
7.4.100.0000.01216.28
7.4.90.0140.00016.43
7.4.80.0120.00416.32
7.4.70.0110.00416.30
7.4.60.0100.00016.10
7.4.50.0050.00515.95
7.4.40.0100.00516.13
7.4.30.0110.00416.30
7.4.20.0110.00416.18
7.4.10.0070.00716.31
7.4.00.0140.00016.32

preferences:
110.53 ms | 403 KiB | 5 Q