3v4l.org

run code in 300+ PHP versions simultaneously
<?php $breadcrumbs = [ ['Home', 'homepage.html'], ['About', 'aboutpage.html'], ['Contact', 'contactpage.html'] ]; $remove = ['Home']; var_export( array_udiff( $breadcrumbs, array_chunk($remove, 1), fn($a, $b) => $a[0] <=> $b[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.80.0030.00916.75
8.3.70.0140.00716.58
8.3.60.0070.01418.52
8.3.50.0100.01016.55
8.3.40.0100.00320.18
8.3.30.0090.00618.33
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.200.0030.00716.63
8.2.190.0200.00316.58
8.2.180.0110.01125.92
8.2.170.0090.00618.75
8.2.160.0080.00622.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0050.00226.16
8.2.110.0060.00320.96
8.2.100.0130.00317.88
8.2.90.0030.00617.63
8.2.80.0030.00618.78
8.2.70.0050.00317.75
8.2.60.0060.00317.63
8.2.50.0040.00417.55
8.2.40.0110.00617.62
8.2.30.0080.01117.62
8.2.20.0000.00919.45
8.2.10.0110.00417.62
8.2.00.0110.00417.62
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0070.00323.79
8.1.230.0100.00320.90
8.1.220.0080.00018.56
8.1.210.0000.00819.10
8.1.200.0040.00417.47
8.1.190.0030.00517.23
8.1.180.0060.00319.00
8.1.170.0000.01517.62
8.1.160.0080.00817.62
8.1.150.0110.00517.62
8.1.140.0120.00317.62
8.1.130.0130.00317.62
8.1.120.0090.00617.62
8.1.110.0080.00817.62
8.1.100.0050.01017.62
8.1.90.0120.00317.62
8.1.80.0120.00417.62
8.1.70.0150.00017.62
8.1.60.0150.00317.62
8.1.50.0130.00517.62
8.1.40.0170.00017.62
8.1.30.0140.00417.62
8.1.20.0080.01117.62
8.1.10.0060.01217.62
8.1.00.0110.00517.62
8.0.300.0040.00420.03
8.0.290.0000.00716.75
8.0.280.0110.00517.62
8.0.270.0100.00517.62
8.0.260.0140.00317.62
8.0.250.0150.00017.62
8.0.240.0040.01317.62
8.0.230.0080.00817.62
8.0.220.0130.00417.62
8.0.210.0080.00817.62
8.0.200.0140.00317.62
8.0.190.0140.00317.62
8.0.180.0100.00617.62
8.0.170.0150.00017.62
8.0.160.0120.00417.62
8.0.150.0100.00717.62
8.0.140.0160.00017.62
8.0.130.0060.00917.62
8.0.120.0150.00017.62
8.0.110.0090.00617.62
8.0.100.0080.00817.62
8.0.90.0080.00817.62
8.0.80.0080.00817.62
8.0.70.0150.00017.62
8.0.60.0120.00417.62
8.0.50.0140.00317.62
8.0.30.0100.00717.62
8.0.20.0160.00017.62
8.0.10.0130.00517.62

preferences:
26.35 ms | 401 KiB | 5 Q