3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = [ ['target_id' => 124], ['target_id' => 234], ['target_id' => 345], ]; $a2 = [ ['target_id' => 123, 'type' => 'node'], ['target_id' => 234, 'type' => 'node'], ['target_id' => 345, 'type' => 'node'], ]; var_dump(array_udiff($a1, $a2, function ($a, $b) { var_dump($a, $b); return 0; }));

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.0150.00316.61
8.3.50.0110.00316.64
8.3.40.0030.01318.56
8.3.30.0090.00618.59
8.3.20.0040.00420.39
8.3.10.0060.00321.77
8.3.00.0000.00919.02
8.2.180.0070.01116.75
8.2.170.0160.00022.96
8.2.160.0100.00720.39
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0070.00020.95
8.2.120.0040.00726.35
8.2.110.0030.00621.00
8.2.100.0100.00018.22
8.2.90.0060.00319.31
8.2.80.0050.00317.97
8.2.70.0080.00017.63
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0070.00020.49
8.2.30.0000.00821.04
8.2.20.0070.00018.10
8.2.10.0000.00818.21
8.2.00.0040.00418.05
8.1.280.0060.00925.92
8.1.270.0070.00023.79
8.1.260.0050.00326.35
8.1.250.0110.00428.09
8.1.240.0080.00023.90
8.1.230.0040.00817.45
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0040.00417.13
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0040.00420.43
8.1.160.0070.00018.97
8.1.150.0050.00218.88
8.1.140.0000.00719.58
8.1.130.0000.00718.94
8.1.120.0000.00717.44
8.1.110.0050.00317.49
8.1.100.0000.00817.39
8.1.90.0050.00317.46
8.1.80.0040.00417.49
8.1.70.0000.00717.50
8.1.60.0000.00817.63
8.1.50.0000.00917.41
8.1.40.0000.00917.39
8.1.30.0070.00417.62
8.1.20.0000.00817.64
8.1.10.0040.00417.49
8.1.00.0070.00017.45
8.0.300.0040.00418.77
8.0.290.0030.00616.58
8.0.280.0030.00318.41
8.0.270.0100.00017.21
8.0.260.0000.00716.89
8.0.250.0070.00016.90
8.0.240.0040.00416.80
8.0.230.0000.00716.82
8.0.220.0030.00316.81
8.0.210.0000.00716.73
8.0.200.0040.00416.89
8.0.190.0060.00316.98
8.0.180.0000.00816.85
8.0.170.0000.00716.95
8.0.160.0040.00416.92
8.0.150.0000.00716.71
8.0.140.0040.00716.76
8.0.130.0040.00213.31
8.0.120.0030.00616.88
8.0.110.0030.00516.91
8.0.100.0040.00416.95
8.0.90.0000.00716.93
8.0.80.0100.00616.84
8.0.70.0040.00416.75
8.0.60.0000.00816.77
8.0.50.0050.00216.70
8.0.30.0080.00817.25
8.0.20.0110.00917.40
8.0.10.0040.00416.90
8.0.00.0100.00716.51
7.4.330.0030.00315.55
7.4.320.0000.00716.50
7.4.300.0000.00716.51
7.4.290.0050.00516.39
7.4.280.0040.00416.50
7.4.270.0000.00816.50
7.4.260.0030.00316.59
7.4.250.0000.00816.56
7.4.240.0070.00016.41
7.4.230.0030.00316.25
7.4.220.0080.01116.52
7.4.210.0000.01516.55
7.4.200.0030.00316.39
7.4.160.0090.01016.57
7.4.150.0150.00917.40
7.4.140.0150.00617.86
7.4.130.0060.01216.48
7.4.120.0120.00616.47
7.3.330.0030.00313.23
7.3.320.0030.00313.20
7.3.310.0070.00016.00
7.3.300.0030.00316.28
7.3.290.0100.00516.25
7.3.280.0110.00716.21
7.3.270.0100.00717.40
7.3.260.0140.00416.31
7.3.250.0100.01116.39
7.3.240.0070.00916.46

preferences:
39.77 ms | 401 KiB | 5 Q