3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = [12, 23, 34]; $second = [32, 21, 43]; $comb=[]; foreach($first as $key){ foreach($second as $row){ $comb[]=$key; $comb[]=$row; } } $combine=['name'=>'data1', 'color'=> '#299662', array_map(null, $first, $second)]; print_r($combine);

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.70.0170.00316.63
8.3.60.0040.01116.50
8.3.50.0080.00818.04
8.3.40.0120.00318.68
8.3.30.0110.00418.61
8.3.20.0000.00721.90
8.3.10.0040.00421.96
8.3.00.0090.00020.73
8.2.190.0100.00718.29
8.2.180.0110.01118.41
8.2.170.0000.01422.96
8.2.160.0100.01020.27
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0090.00026.16
8.2.110.0080.00419.23
8.2.100.0070.00420.42
8.2.90.0040.00419.46
8.2.80.0000.00719.42
8.2.70.0000.00818.04
8.2.60.0040.00418.16
8.2.50.0040.00418.10
8.2.40.0040.00419.47
8.2.30.0040.00419.32
8.2.20.0040.00418.13
8.2.10.0040.00419.38
8.2.00.0000.00719.32
8.1.280.0070.00725.92
8.1.270.0080.00022.41
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00322.19
8.1.230.0000.01120.90
8.1.220.0000.00717.78
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.21
8.1.180.0060.00318.10
8.1.170.0030.00620.90
8.1.160.0000.00719.04
8.1.150.0040.00418.80
8.1.140.0020.00520.22
8.1.130.0070.00019.99
8.1.120.0040.00417.46
8.1.110.0070.00017.46
8.1.100.0030.00517.43
8.1.90.0080.00017.34
8.1.80.0040.00817.49
8.1.70.0080.00017.50
8.1.60.0060.00317.50
8.1.50.0060.00317.54
8.1.40.0030.00517.40
8.1.30.0070.00017.65
8.1.20.0030.00517.60
8.1.10.0040.00417.45
8.1.00.0060.00617.48
8.0.300.0070.00019.73
8.0.290.0050.00316.75
8.0.280.0040.00418.36
8.0.270.0060.00317.17
8.0.260.0000.00620.10
8.0.250.0030.00316.93
8.0.240.0000.00717.00
8.0.230.0070.00016.94
8.0.220.0000.00716.90
8.0.210.0000.00716.91
8.0.200.0030.00517.01
8.0.190.0000.00717.01
8.0.180.0090.00016.91
8.0.170.0060.00316.93
8.0.160.0000.00716.96
8.0.150.0030.00316.90
8.0.140.0020.00516.86
8.0.130.0030.00313.29
8.0.120.0050.00516.82
8.0.110.0050.00216.95
8.0.100.0040.00416.89
8.0.90.0030.00616.84
8.0.80.0060.00916.92
8.0.70.0070.00016.93
8.0.60.0040.00416.95
8.0.50.0000.00816.86
8.0.30.0120.00717.16
8.0.20.0120.00617.17
8.0.10.0020.00516.88
8.0.00.0080.01016.59
7.4.330.0000.00515.55
7.4.320.0030.00316.58
7.4.300.0060.00016.50
7.4.290.0040.00416.47
7.4.280.0040.00416.48
7.4.270.0030.00316.50
7.4.260.0050.00013.29
7.4.250.0040.00416.54
7.4.240.0000.00716.47
7.4.230.0030.00316.33
7.4.220.0020.00516.44
7.4.210.0110.00716.59
7.4.200.0050.00216.37
7.4.130.0030.01316.43
7.4.120.0070.01116.64
7.4.110.0060.01316.49
7.4.100.0090.00916.55
7.4.90.0060.01216.55
7.4.80.0040.01719.39
7.4.70.0070.01116.67
7.4.60.0150.00616.66
7.4.50.0070.00416.36
7.4.40.0060.01216.68
7.4.00.0030.01314.82
7.3.330.0030.00316.34
7.3.320.0030.00313.16
7.3.310.0030.00316.23
7.3.300.0000.00716.23
7.3.290.0000.00716.27
7.3.280.0040.01116.24
7.3.260.0080.00916.35
7.3.240.0090.00816.36
7.3.230.0120.00916.60
7.3.210.0030.01416.31
7.3.200.0100.01316.46
7.3.190.0060.01016.28
7.3.180.0150.00616.41
7.3.170.0150.00616.30
7.3.160.0000.01616.30
7.3.100.0080.01114.79
7.3.90.0100.00615.01
7.3.80.0110.00815.15
7.3.70.0120.00614.86
7.3.60.0060.01314.87
7.3.50.0100.00314.77
7.3.40.0030.01014.63
7.3.30.0040.01114.81
7.3.20.0030.01014.79
7.3.10.0170.00014.85
7.3.00.0070.00714.85
7.2.330.0090.00916.61
7.2.320.0100.01016.65
7.2.310.0060.00916.49
7.2.300.0180.00316.48
7.2.290.0130.00516.31
7.2.230.0120.00614.94
7.2.220.0000.01715.09
7.2.210.0000.02014.74
7.2.200.0090.00614.73
7.2.190.0030.01014.88
7.2.180.0140.00015.03
7.2.170.0030.01014.84
7.2.160.0000.01614.64
7.2.150.0140.00415.13
7.2.140.0070.00715.13
7.2.130.0040.01115.06
7.2.120.0110.00415.11
7.2.110.0120.00315.09
7.2.100.0150.00315.02
7.2.90.0070.01114.92
7.2.80.0040.01315.25
7.2.70.0070.01315.11
7.2.60.0070.01315.08
7.2.50.0100.01015.17
7.2.40.0100.00615.23
7.2.30.0120.00415.08
7.2.20.0030.01615.02
7.2.10.0090.00915.11
7.2.00.0060.01214.66
7.1.320.0100.00613.94
7.1.310.0200.00013.68
7.1.300.0080.00813.64
7.1.290.0060.00714.08
7.1.280.0030.01013.80
7.1.270.0070.00714.09
7.1.260.0060.00613.98
7.1.250.0030.01013.94

preferences:
32.68 ms | 401 KiB | 5 Q