3v4l.org

run code in 300+ PHP versions simultaneously
<?php $books_sorted = [ ["title" => "In Search of Lost Time", 'others' => 'unuseful1'], ["title" => "Don Quixote", 'others' => 'unuseful2'], ["title" => "The Great Gatsby", 'others' => 'unuseful3'] ]; $books_available = [ ["title" => "Moby Dick", 'others' => 'unuseful4'], ["title" => "In Search of Lost Time", 'others' => 'unuseful5'], ["title" => "The Great Gatsby", 'others' => 'unuseful6'], ["title" => "War and Peace", 'others' => 'unuseful7'] ]; var_export( array_merge( array_uintersect( $books_sorted, $books_available, fn($a, $b) => $a['title'] <=> $b['title'] ), array_udiff( $books_available, $books_sorted, fn($a, $b) => $a['title'] <=> $b['title'] ), ) );

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.120.0130.00620.56
8.4.110.0120.00822.39
8.4.100.0110.00717.68
8.4.90.0130.00718.75
8.4.80.0130.00718.03
8.4.70.0040.00417.77
8.4.60.0150.00618.63
8.4.50.0140.00617.73
8.4.40.0040.01218.00
8.4.30.0090.00320.61
8.4.20.0130.00619.74
8.4.10.0150.00622.11
8.3.250.0110.00818.84
8.3.240.0100.00916.49
8.3.230.0100.01016.42
8.3.220.0120.00617.16
8.3.210.0070.00716.66
8.3.200.0050.00716.55
8.3.190.0120.00618.97
8.3.180.0080.01118.50
8.3.170.0110.00419.00
8.3.160.0130.00616.49
8.3.150.0120.00317.12
8.3.140.0110.00417.10
8.3.130.0150.00018.34
8.3.120.0060.00318.93
8.3.110.0090.00020.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0040.00416.63
8.3.70.0110.00416.58
8.3.60.0160.00616.75
8.3.50.0140.00019.90
8.3.40.0100.01020.13
8.3.30.0060.01218.77
8.3.20.0050.00324.18
8.3.10.0000.00824.66
8.3.00.0000.00726.16
8.2.290.0120.00620.41
8.2.280.0090.00520.41
8.2.270.0150.00016.63
8.2.260.0000.01618.96
8.2.250.0040.01116.63
8.2.240.0080.00817.18
8.2.230.0040.00422.58
8.2.220.0160.00337.54
8.2.210.0050.00326.77
8.2.200.0060.00316.50
8.2.190.0110.00816.58
8.2.180.0000.01625.92
8.2.170.0130.00318.95
8.2.160.0070.00722.96
8.2.150.0060.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0030.00619.78
8.2.110.0070.00320.99
8.2.100.0120.00017.91
8.2.90.0000.00818.22
8.2.80.0030.00618.16
8.2.70.0030.00617.75
8.2.60.0050.00518.34
8.2.50.0030.00718.10
8.2.40.0000.00821.20
8.2.30.0040.00418.13
8.2.20.0030.00619.32
8.2.10.0000.00818.14
8.2.00.0000.00719.22
8.1.330.0100.00822.06
8.1.320.0090.01016.16
8.1.310.0100.00718.34
8.1.300.0080.00018.20
8.1.290.0030.00730.84
8.1.280.0130.00325.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0130.00723.83
8.1.230.0100.00022.67
8.1.220.0030.00617.80
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0030.00518.56
8.1.160.0070.00018.87
8.1.150.0040.00418.66
8.1.140.0030.00617.40
8.1.130.0000.00718.89
8.1.120.0000.00717.43
8.1.110.0050.00317.36
8.1.100.0080.00017.47
8.1.90.0090.00317.48
8.1.80.0110.00317.50
8.1.70.0030.00717.38
8.1.60.0070.00217.48
8.1.50.0150.00417.47
8.1.40.0140.00517.42
8.1.30.0180.00017.61
8.1.20.0150.00217.68
8.1.10.0190.00017.42
8.1.00.0090.00917.48
8.0.300.0040.00420.08
8.0.290.0070.00016.75
8.0.280.0030.00318.52
8.0.270.0070.00018.60
8.0.260.0030.00318.38
8.0.250.0000.00716.98
8.0.240.0040.00416.87
8.0.230.0040.00416.93
8.0.220.0100.00716.81
8.0.210.0050.01016.77
8.0.200.0150.00016.82
8.0.190.0050.01016.86
8.0.180.0130.00316.73
8.0.170.0110.00416.77
8.0.160.0160.00016.80
8.0.150.0000.01516.92
8.0.140.0150.00016.84
8.0.130.0050.01016.82
8.0.120.0130.00316.91
8.0.110.0120.00316.72
8.0.100.0130.00416.77
8.0.90.0080.00816.89
8.0.80.0060.01116.84
8.0.70.0080.00816.82
8.0.60.0130.00316.89
8.0.50.0140.00016.87
8.0.30.0120.00316.79
8.0.20.0050.01016.89
8.0.10.0090.00616.99
7.4.330.0000.00515.55
7.4.320.0030.00316.60
7.4.300.0040.00916.63
7.4.290.0120.00316.52
7.4.280.0060.01216.49
7.4.270.0110.00716.49
7.4.260.0130.00516.58
7.4.250.0110.00516.59
7.4.240.0110.00516.43
7.4.230.0160.00016.50
7.4.220.0130.00416.50
7.4.210.0080.00816.55
7.4.200.0090.00516.40
7.4.190.0070.00716.61
7.4.180.0060.00916.56
7.4.160.0120.00416.46
7.4.150.0150.00016.41
7.4.140.0110.00416.50
7.4.130.0150.00016.31
7.4.120.0140.00016.35
7.4.110.0080.00516.35
7.4.100.0070.00716.48
7.4.90.0110.00316.56
7.4.80.0070.00716.48
7.4.70.0100.00316.34
7.4.60.0080.00616.52
7.4.50.0130.00016.40
7.4.40.0160.00016.32
7.4.30.0040.01116.29
7.4.20.0100.00516.38
7.4.10.0070.00716.28
7.4.00.0030.00616.52

preferences:
104.94 ms | 403 KiB | 5 Q