3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paintings = [ ["24ef9-70076-4358c-48386.jpg", "La Donna Gravida", "649"], ["a7972-065a9-4c0f9-723d1.jpg", "Madonna and Child with the Book", "1254"], ["b054c-df208-0f600-e884e.jpg", "Madonna del Granduca", "1457"] ]; $painting = 'a7972-065a9-4c0f9-723d1.jpg'; $index = array_find_key( $paintings, fn($row) => $row[0] === $painting ); if ($index !== null) { unset($paintings[$index]); } var_export($paintings);

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.5.00.0100.01219.78
8.4.150.0020.00014.05
8.4.140.0090.01217.76
8.4.130.0120.00817.71
8.4.120.0130.00720.45
8.4.110.0140.00520.57
8.4.100.0140.00617.64
8.4.90.0050.00418.00
8.4.80.0060.00317.81
8.4.70.0070.00117.92
8.4.60.0090.01217.76
8.4.50.0070.01020.21
8.4.40.0120.00919.11
8.4.30.0040.01520.36
8.4.20.0100.01021.27
8.4.10.0050.00319.72
8.3.280.0100.00918.33
8.3.270.0150.01016.64
8.3.260.0110.00916.57
8.3.250.0110.00818.79
8.3.240.0110.00816.46
8.3.230.0100.01016.60
8.3.220.0050.00317.04
8.3.210.0100.00816.52
8.3.200.0150.00416.63
8.3.190.0160.00316.84
8.3.180.0090.00519.04
8.3.170.0140.00716.98
8.3.160.0090.00918.44
8.3.150.0060.01217.13
8.3.140.0070.01316.70
8.3.130.0320.01016.61
8.3.120.0380.00316.47
8.3.110.0280.01216.64
8.3.100.0470.00316.30
8.3.90.0330.02216.55
8.3.80.0370.01116.21
8.3.70.0330.01216.30
8.3.60.0400.00416.73
8.3.50.0370.00816.47
8.3.40.0210.01417.40
8.3.30.0250.01117.41
8.3.20.0350.00317.44
8.3.10.0220.01517.59
8.3.00.0210.00617.39
8.2.290.0130.00620.68
8.2.280.0050.00416.76
8.2.270.0130.00316.68
8.2.260.0120.00617.20
8.2.250.0230.00917.03
8.2.240.0270.00616.71
8.2.230.0220.00916.64
8.2.220.0280.00716.59
8.2.210.0330.00916.54
8.2.200.0360.00016.39
8.2.190.0220.01116.46
8.2.180.0190.01616.74
8.2.170.0330.00317.57
8.2.160.0300.00317.72
8.2.150.0270.00717.45
8.2.140.0250.01317.63
8.2.130.0310.00917.56
8.2.120.0390.00317.53
8.2.110.0360.00317.43
8.2.100.0300.01117.39
8.2.90.0170.02117.21
8.2.80.0180.00317.29
8.2.70.0180.00917.34
8.2.60.0180.00617.23
8.2.50.0140.00517.58
8.2.40.0100.00717.34
8.2.30.0180.00017.31
8.2.20.0130.00417.15
8.2.10.0200.00017.41
8.2.00.0080.01217.14
8.1.330.0140.00516.51
8.1.320.0080.01016.40
8.1.310.0050.00316.82
8.1.300.0110.00816.18
8.1.290.0120.00616.18
8.1.280.0180.00316.18
8.1.270.0220.00316.79
8.1.260.0100.01017.52
8.1.250.0100.01017.11
8.1.240.0160.00417.14
8.1.230.0140.00616.88
8.1.220.0140.00517.37
8.1.210.0090.00917.00
8.1.200.0120.00917.18
8.1.190.0140.00517.23
8.1.180.0140.00517.01
8.1.170.0170.00017.05
8.1.160.0170.00217.18
8.1.150.0180.00016.95
8.1.140.0110.00816.90
8.1.130.0200.00716.84
8.1.120.0300.00316.87
8.1.110.0180.00017.20
8.1.100.0100.00717.17
8.1.90.0150.00217.07
8.1.80.0150.00317.26
8.1.70.0150.00317.28
8.1.60.0140.00517.07
8.1.50.0140.00517.46
8.1.40.0170.00617.01
8.1.30.0190.00017.09
8.1.20.0190.00017.47
8.1.10.0190.00017.32
8.1.00.0130.00817.16

preferences:
64.39 ms | 403 KiB | 5 Q