3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all_works = [ ["title"=>"A Children’s Story", "year"=>"2024"], ["title"=>"Occurred during the Day", "year"=>"2021"], ["title"=>"Future and Past", "year"=>"2021"], ["title"=>"Future and History", "year"=>"2020"], ["title"=>"Open the School, Close the Studio", "year"=>"2023"], ["title"=>"To Reconstruct, To Rebuild", "year"=>"2024"], ["title"=>"Eyeglasses, a Story", "year"=>"2023"], ["title"=>"Nomadic Life11", "year"=>"2024"], ["title"=>"Nomadic Life2", "year"=>"2024"], ["title"=>"Nomadic Life", "year"=>"2024"], ["title"=>"Chipotle!", "year"=>"2022"], ["title"=>"between Art & Technology", "year"=>"2020"], ["title"=>"interview Script", "year"=>"2018"], ["title"=>"memories and confession", "year"=>"2024"], ["title"=>"Guest of Pluto", "year"=>"2022"], ["title"=>"A Prologue", "year"=>"2022"], ["title"=>"You are in this place", "year"=>"2023"], ["title"=>"Happening Now", "year"=>"2024"], ["title"=>"Review Catalogue", "year"=>"2022"], ["title"=>"A living being of Mars", "year"=>"2021"], ]; array_multisort( array_column($all_works, 'year'), SORT_DESC, array_column($all_works, 'title'), SORT_STRING | SORT_NATURAL, $all_works ); var_export($all_works);

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.10.0120.00616.52
8.5.00.0070.00319.67
8.4.150.0030.00014.05
8.4.140.0090.01217.52
8.4.130.0140.00618.91
8.4.120.0120.00724.24
8.4.110.0100.00318.74
8.4.100.0050.00419.08
8.4.90.0100.01020.28
8.4.80.0060.01018.57
8.4.70.0070.00818.08
8.4.60.0040.00418.88
8.4.50.0130.00718.34
8.4.40.0160.00317.48
8.4.30.0140.00718.77
8.4.20.0060.00321.23
8.4.10.0120.00319.12
8.3.280.0110.00918.36
8.3.270.0110.00816.75
8.3.260.0140.00616.64
8.3.250.0080.01018.68
8.3.240.0090.00616.95
8.3.230.0130.00516.55
8.3.220.0090.00918.66
8.3.210.0110.00916.27
8.3.200.0060.00316.55
8.3.190.0080.00917.20
8.3.180.0050.00516.91
8.3.170.0070.00318.85
8.3.160.0090.00917.08
8.3.150.0030.00517.05
8.3.140.0150.00316.91
8.3.130.0050.00318.36
8.3.120.0060.00320.62
8.3.110.0000.00818.35
8.3.100.0200.00016.23
8.3.90.0200.00026.77
8.3.80.0030.00617.97
8.3.70.0270.00017.97
8.3.60.0260.00417.97
8.3.50.0120.00617.97
8.3.40.0190.00617.97
8.3.30.0210.00317.97
8.3.20.0140.01117.97
8.3.10.0230.00317.97
8.3.00.0210.00417.97
8.2.290.0120.00620.50
8.2.280.0100.00818.51
8.2.270.0120.00617.39
8.2.260.0080.00018.36
8.2.250.0060.00318.95
8.2.240.0110.00716.97
8.2.230.0030.00720.94
8.2.220.0090.00024.06
8.2.210.0140.00426.77
8.2.200.0080.00016.75
8.2.190.0210.00617.97
8.2.180.0160.01017.97
8.2.170.0200.00817.97
8.2.160.0250.00417.97
8.2.150.0140.00917.97
8.2.140.0270.00017.97
8.2.130.0170.00717.97
8.2.120.0200.00417.97
8.2.110.0250.00017.97
8.2.100.0240.00317.97
8.2.90.0120.01617.97
8.2.80.0200.00417.97
8.2.70.0210.00317.97
8.2.60.0170.00717.97
8.2.50.0260.00417.97
8.2.40.0180.00617.97
8.2.30.0160.00817.97
8.2.20.0160.00617.97
8.2.10.0190.00317.97
8.2.00.0220.00017.97
8.1.330.0030.00522.14
8.1.320.0040.00417.75
8.1.310.0040.00416.49
8.1.300.0000.01416.77
8.1.290.0110.00030.84
8.1.280.0290.00017.97
8.1.270.0320.00017.97
8.1.260.0250.00317.97
8.1.250.0260.00317.97
8.1.240.0100.01017.97
8.1.230.0200.00417.97
8.1.220.0160.00817.97
8.1.210.0250.00017.97
8.1.200.0160.01017.97
8.1.190.0230.00317.97
8.1.180.0200.01017.97
8.1.170.0210.01017.97
8.1.160.0090.01717.97
8.1.150.0250.00017.97
8.1.140.0130.01317.97
8.1.130.0150.01017.97
8.1.120.0160.00817.97
8.1.110.0150.00617.97
8.1.100.0140.00717.97
8.1.90.0250.00017.97
8.1.80.0260.00017.97
8.1.70.0200.00517.97
8.1.60.0240.00317.97
8.1.50.0200.00717.97
8.1.40.0320.00017.97
8.1.30.0170.00717.97
8.1.20.0190.00317.97
8.1.10.0210.00517.97
8.1.00.0190.01117.97
7.4.330.0080.00737.54

preferences:
38.05 ms | 403 KiB | 5 Q