3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ 0 => [ "qty" => 1, "name" => "Guide, interlocked slats, R Commodity code: 39239000 / Country of origin: PL. Delivery note 838174147 from 12.09.2019 PC 1,50/ 10", ], 1 => [ "qty" => null, "name" => "Guide, interlocked slats, L Commodity code: 39239000 / Country of origin: PL. Delivery note 838174147 from 12.09.2019 PC", ], 2 => [ "qty" => null, "name" => "Bottom groove set L + R Commodity code: 39239000 / Country of origin:", ] ]; $keys = $a[0]; foreach ($a as $item) { foreach ($item as $key => $value) { if ($value === null) { unset($keys[$key]); } if (empty($keys)) { break 2; } } } print_r(array_keys($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.4.10.0000.00822.18
8.3.140.0090.00616.45
8.3.130.0090.00016.42
8.3.120.0150.00418.75
8.3.110.0070.00420.94
8.3.100.0080.00016.62
8.3.90.0000.00818.29
8.3.80.0090.00319.36
8.3.70.0090.00616.58
8.3.60.0070.01016.50
8.3.50.0080.00925.37
8.3.40.0110.00318.69
8.3.30.0040.01118.50
8.3.20.0060.00324.18
8.3.10.0050.00324.66
8.3.00.0050.00326.16
8.2.260.0050.00318.45
8.2.250.0080.00016.84
8.2.240.0030.00517.18
8.2.230.0030.00622.58
8.2.220.0180.00024.06
8.2.210.0110.00726.77
8.2.200.0040.00416.63
8.2.190.0120.00616.58
8.2.180.0130.01025.92
8.2.170.0040.01218.94
8.2.160.0100.00322.96
8.2.150.0030.00625.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.83
8.2.110.0090.00019.39
8.2.100.0080.00417.78
8.2.90.0050.00320.07
8.2.80.0050.00218.34
8.2.70.0000.00817.63
8.2.60.0000.00917.63
8.2.50.0090.00519.20
8.2.40.0000.00718.28
8.2.30.0020.00518.14
8.2.20.0000.00818.09
8.2.10.0000.00719.32
8.2.00.0040.00419.38
8.1.310.0040.00418.56
8.1.300.0070.00318.70
8.1.290.0090.00018.88
8.1.280.0140.00025.92
8.1.270.0000.00822.06
8.1.260.0060.00926.35
8.1.250.0080.00028.09
8.1.240.0060.00322.45
8.1.230.0040.00720.82
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0050.00317.35
8.1.190.0060.00317.35
8.1.180.0030.00518.10
8.1.170.0040.00418.65
8.1.160.0070.00018.91
8.1.150.0070.00019.01
8.1.140.0000.00718.90
8.1.130.0030.00320.10
8.1.120.0040.00417.39
8.1.110.0040.00417.48
8.1.100.0000.00717.35
8.1.90.0050.00517.35
8.1.80.0000.00817.45
8.1.70.0030.00317.42
8.1.60.0030.00517.65
8.1.50.0040.00417.55
8.1.40.0000.00717.39
8.1.30.0050.00617.67
8.1.20.0040.00417.55
8.1.10.0040.00817.42
8.1.00.0000.00717.46
8.0.300.0020.00520.20
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0080.00017.93
8.0.260.0060.00018.38
8.0.250.0000.00816.97
8.0.240.0000.00716.96
8.0.230.0040.00416.95
8.0.220.0030.00416.86
8.0.210.0000.00716.95
8.0.200.0050.00317.03
8.0.190.0040.00417.00
8.0.180.0040.00416.87
8.0.170.0000.00916.81
8.0.160.0040.00416.95
8.0.150.0040.00416.83
8.0.140.0030.00316.80
8.0.130.0050.00013.29
8.0.120.0070.00016.89
8.0.110.0050.00316.84
8.0.100.0030.00416.73
8.0.90.0000.00716.75
8.0.80.0030.01316.83
8.0.70.0030.00516.93
8.0.60.0070.00016.92
8.0.50.0040.00416.90
8.0.30.0030.01717.15
8.0.20.0110.01017.12
8.0.10.0000.00717.05
8.0.00.0090.01216.94
7.4.330.0020.00316.67
7.4.320.0060.00016.62
7.4.300.0060.00016.47
7.4.290.0040.00416.55
7.4.280.0000.00716.61
7.4.270.0040.00416.68
7.4.260.0000.00613.30
7.4.250.0030.00316.60
7.4.240.0040.00416.63
7.4.230.0030.00316.68
7.4.220.0030.00316.61
7.4.210.0070.01016.58
7.4.200.0030.00316.55
7.4.130.0140.00716.50
7.4.120.0030.01416.42
7.4.110.0210.00016.45
7.4.100.0130.00816.43
7.4.90.0080.01116.28
7.4.80.0120.00616.25
7.4.70.0070.01216.19
7.4.60.0090.00816.28
7.4.50.0060.01416.39
7.4.40.0120.00416.31
7.4.30.0090.00916.44
7.4.20.0120.00516.46
7.4.10.0120.01016.63
7.4.00.0030.01516.31
7.3.330.0070.00016.09
7.3.320.0060.00013.27
7.3.310.0030.00316.53
7.3.300.0030.00316.32
7.3.290.0060.00816.42
7.3.280.0100.01016.36
7.3.260.0190.01016.50
7.3.230.0160.00616.56
7.3.220.0070.01016.27
7.3.210.0100.00816.32
7.3.200.0080.01116.21
7.3.190.0130.00516.31
7.3.180.0050.01116.39
7.3.170.0130.00516.33
7.3.160.0080.00916.20
7.3.150.0100.00716.37
7.3.140.0060.01116.38
7.3.130.0110.00816.41
7.3.120.0130.00716.43
7.3.110.0100.01116.31
7.3.100.0070.01016.16
7.3.90.0080.01116.37
7.3.80.0070.01316.60
7.3.70.0110.00616.31
7.3.60.0140.00316.29
7.3.50.0110.00916.38
7.3.40.0100.00816.30
7.3.30.0040.01316.31
7.3.20.0110.00716.36
7.3.10.0110.00816.40
7.3.00.0090.00916.18
7.2.330.0100.01016.54
7.2.320.0140.00516.44
7.2.310.0090.01216.31
7.2.300.0050.01216.44
7.2.290.0100.00716.39
7.2.280.0120.00616.58
7.2.270.0080.00916.52
7.2.260.0090.00916.46
7.2.250.0090.01416.47
7.2.240.0100.01016.48
7.2.230.0090.01016.56
7.2.220.0130.00716.63
7.2.210.0090.01016.69
7.2.200.0090.00916.59
7.2.190.0090.01316.56
7.2.180.0110.00816.55
7.2.170.0120.01216.51
7.2.160.0070.01216.54
7.2.150.0090.01116.57
7.2.140.0090.01116.60
7.2.130.0050.01316.64
7.2.120.0120.00816.52
7.2.110.0080.01016.63
7.2.100.0090.00916.59
7.2.90.0070.01316.56
7.2.80.0170.00316.71
7.2.70.0090.01116.56
7.2.60.0060.01516.53
7.2.50.0260.00616.36
7.2.40.0070.01216.52
7.2.30.0080.01016.68
7.2.20.0120.01016.50
7.2.10.0120.00716.49
7.2.00.0070.01116.56

preferences:
30.73 ms | 403 KiB | 5 Q