3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = [ ["module1", "path/to/file.txt", ""], ["module2", "path/to/file2.txt", ""], ]; $array2 = [ ["module1", "path/to/file.txt", ""] ]; var_export( array_udiff($array1, $array2, fn($a, $b) => $a <=> $b) );

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.0130.00717.46
8.4.120.0050.00422.00
8.4.110.0130.00722.54
8.4.100.0050.00317.81
8.4.90.0100.01020.61
8.4.80.0040.00417.82
8.4.70.0140.00617.73
8.4.60.0140.00618.69
8.4.50.0040.00517.72
8.4.40.0060.00317.36
8.4.30.0120.00620.50
8.4.20.0090.00924.23
8.4.10.0060.00324.03
8.3.260.0110.00516.38
8.3.250.0050.00418.77
8.3.240.0060.00316.74
8.3.230.0070.01216.56
8.3.220.0060.00220.71
8.3.210.0120.00618.26
8.3.200.0040.00516.35
8.3.190.0110.00717.05
8.3.180.0110.00716.31
8.3.170.0070.00317.09
8.3.160.0090.00918.39
8.3.150.0150.00416.37
8.3.140.0150.00316.59
8.3.130.0030.00616.79
8.3.120.0080.00018.82
8.3.110.0050.00320.94
8.3.100.0090.00024.06
8.3.90.0070.00326.77
8.3.80.0060.00318.35
8.3.70.0180.00018.30
8.3.60.0110.01116.63
8.3.50.0090.01216.69
8.3.40.0100.00619.87
8.3.30.0090.00618.58
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0110.00820.21
8.2.280.0120.00618.51
8.2.270.0070.01117.17
8.2.260.0070.00718.04
8.2.250.0070.00018.25
8.2.240.0100.01018.68
8.2.230.0090.00022.58
8.2.220.0030.00737.54
8.2.210.0110.00426.77
8.2.200.0060.00318.29
8.2.190.0040.01118.16
8.2.180.0060.01516.75
8.2.170.0110.00418.96
8.2.160.0120.00622.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0000.00726.16
8.2.110.0070.00321.96
8.2.100.0090.00317.91
8.2.90.0000.00817.75
8.2.80.0040.00418.75
8.2.70.0000.00917.49
8.2.60.0050.00317.50
8.2.50.0040.00419.22
8.2.40.0150.00317.62
8.2.30.0080.00817.62
8.2.20.0100.00717.62
8.2.10.0110.00517.63
8.2.00.0090.00917.63
8.1.330.0060.01223.51
8.1.320.0130.00715.81
8.1.310.0120.00318.05
8.1.300.0070.00317.86
8.1.290.0040.00430.84
8.1.280.0040.01125.92
8.1.270.0040.00421.94
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00324.02
8.1.230.0080.00320.79
8.1.220.0040.00417.78
8.1.210.0050.00318.77
8.1.200.0030.00517.23
8.1.190.0000.00817.43
8.1.180.0040.00418.10
8.1.170.0130.00317.62
8.1.160.0070.00917.62
8.1.150.0120.00417.62
8.1.140.0130.00317.62
8.1.130.0130.00417.62
8.1.120.0140.00417.62
8.1.110.0100.01017.62
8.1.100.0130.00717.62
8.1.90.0120.00817.62
8.1.80.0080.00817.62
8.1.70.0140.00317.62
8.1.60.0100.01017.62
8.1.50.0190.00017.62
8.1.40.0170.00317.62
8.1.30.0130.00417.62
8.1.20.0140.00317.62
8.1.10.0170.00017.62
8.1.00.0130.00317.62
8.0.300.0040.00421.50
8.0.290.0030.00516.75
8.0.280.0080.00817.62
8.0.270.0160.00017.62
8.0.260.0070.01117.62
8.0.250.0080.00817.62
8.0.240.0170.00017.62
8.0.230.0060.01017.62
8.0.220.0090.00617.62
8.0.210.0160.00017.62
8.0.200.0030.01317.62
8.0.190.0160.00017.62
8.0.180.0140.00517.62
8.0.170.0120.00417.62
8.0.160.0160.00017.62
8.0.150.0150.00017.62
8.0.140.0140.00317.62
8.0.130.0090.00917.62
8.0.120.0120.00617.62
8.0.110.0070.01017.62
8.0.100.0170.00017.62
8.0.90.0170.00017.62
8.0.80.0180.00017.62
8.0.70.0180.00017.62
8.0.60.0110.00717.62
8.0.50.0110.00417.62
8.0.30.0130.00617.62
8.0.20.0160.00017.62
8.0.10.0100.00517.62

preferences:
26.38 ms | 403 KiB | 5 Q