3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list_array = array ( array("date"=>"2020-01-02", "address"=>"1629 W Main St", "city"=>"Ville Platte", "client"=>"Anette Albert", "agent"=>"Michelle Rockwood", "office"=>"Gardner Realtors", "price"=>"445"), array("date"=>"2019-02-03", "address"=>"201 La Rue Rhiems", "city"=>"Duson", "client"=>"William Myers", "agent"=>"Teresa Pastor", "office"=>"District South", "price"=>"375"), array("date"=>"2019-01-07", "address"=>"1402 Southport Blvd", "city"=>"New Iberia", "client"=>"Jose Villatobos", "agent"=>"Rickey Romero", "office"=>"Keller Williams", "price"=>"550"), array("date"=>"2019-01-08", "address"=>"900 S. College Dr, Ste 100", "city"=>"Lafayette", "client"=>"Susan D'Picard", "agent"=>"John Allen", "office"=>"Keller Williams", "price"=>"325"), array("date"=>"2017-12-02", "address"=>"1629 W Main St", "city"=>"Ville Platte", "client"=>"Anette Albert", "agent"=>"Michelle Rockwood", "office"=>"Gardner Realtors", "price"=>"445"), array("date"=>"2016-02-03", "address"=>"202 La Rue Rhiems", "city"=>"Duson", "client"=>"Robert La'Rue", "agent"=>"Suzanne D'Ambrosio", "office"=>"Van Eaton", "price"=>"365"), array("date"=>"2019-01-07", "address"=>"1405 Southport Blvd", "city"=>"New Iberia", "client"=>"Bob Barker", "agent"=>"Rickey Romero", "office"=>"Keller Williams", "price"=>"560"), array("date"=>"2019-01-08", "address"=>"900 S. College Dr, Ste 103", "city"=>"Lafayette", "client"=>"Susan Johnson", "agent"=>"Fred Arse", "office"=>"Keller Williams", "price"=>"315") ); array_multisort(array_column($list_array, 'date'), $list_array); var_export($list_array);
Output for 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
array ( 0 => array ( 'date' => '2016-02-03', 'address' => '202 La Rue Rhiems', 'city' => 'Duson', 'client' => 'Robert La\'Rue', 'agent' => 'Suzanne D\'Ambrosio', 'office' => 'Van Eaton', 'price' => '365', ), 1 => array ( 'date' => '2017-12-02', 'address' => '1629 W Main St', 'city' => 'Ville Platte', 'client' => 'Anette Albert', 'agent' => 'Michelle Rockwood', 'office' => 'Gardner Realtors', 'price' => '445', ), 2 => array ( 'date' => '2019-01-07', 'address' => '1402 Southport Blvd', 'city' => 'New Iberia', 'client' => 'Jose Villatobos', 'agent' => 'Rickey Romero', 'office' => 'Keller Williams', 'price' => '550', ), 3 => array ( 'date' => '2019-01-07', 'address' => '1405 Southport Blvd', 'city' => 'New Iberia', 'client' => 'Bob Barker', 'agent' => 'Rickey Romero', 'office' => 'Keller Williams', 'price' => '560', ), 4 => array ( 'date' => '2019-01-08', 'address' => '900 S. College Dr, Ste 100', 'city' => 'Lafayette', 'client' => 'Susan D\'Picard', 'agent' => 'John Allen', 'office' => 'Keller Williams', 'price' => '325', ), 5 => array ( 'date' => '2019-01-08', 'address' => '900 S. College Dr, Ste 103', 'city' => 'Lafayette', 'client' => 'Susan Johnson', 'agent' => 'Fred Arse', 'office' => 'Keller Williams', 'price' => '315', ), 6 => array ( 'date' => '2019-02-03', 'address' => '201 La Rue Rhiems', 'city' => 'Duson', 'client' => 'William Myers', 'agent' => 'Teresa Pastor', 'office' => 'District South', 'price' => '375', ), 7 => array ( 'date' => '2020-01-02', 'address' => '1629 W Main St', 'city' => 'Ville Platte', 'client' => 'Anette Albert', 'agent' => 'Michelle Rockwood', 'office' => 'Gardner Realtors', 'price' => '445', ), )
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 array ( 0 => array ( 'date' => '2016-02-03', 'address' => '202 La Rue Rhiems', 'city' => 'Duson', 'client' => 'Robert La\'Rue', 'agent' => 'Suzanne D\'Ambrosio', 'office' => 'Van Eaton', 'price' => '365', ), 1 => array ( 'date' => '2017-12-02', 'address' => '1629 W Main St', 'city' => 'Ville Platte', 'client' => 'Anette Albert', 'agent' => 'Michelle Rockwood', 'office' => 'Gardner Realtors', 'price' => '445', ), 2 => array ( 'date' => '2019-01-07', 'address' => '1402 Southport Blvd', 'city' => 'New Iberia', 'client' => 'Jose Villatobos', 'agent' => 'Rickey Romero', 'office' => 'Keller Williams', 'price' => '550', ), 3 => array ( 'date' => '2019-01-07', 'address' => '1405 Southport Blvd', 'city' => 'New Iberia', 'client' => 'Bob Barker', 'agent' => 'Rickey Romero', 'office' => 'Keller Williams', 'price' => '560', ), 4 => array ( 'date' => '2019-01-08', 'address' => '900 S. College Dr, Ste 100', 'city' => 'Lafayette', 'client' => 'Susan D\'Picard', 'agent' => 'John Allen', 'office' => 'Keller Williams', 'price' => '325', ), 5 => array ( 'date' => '2019-01-08', 'address' => '900 S. College Dr, Ste 103', 'city' => 'Lafayette', 'client' => 'Susan Johnson', 'agent' => 'Fred Arse', 'office' => 'Keller Williams', 'price' => '315', ), 6 => array ( 'date' => '2019-02-03', 'address' => '201 La Rue Rhiems', 'city' => 'Duson', 'client' => 'William Myers', 'agent' => 'Teresa Pastor', 'office' => 'District South', 'price' => '375', ), 7 => array ( 'date' => '2020-01-02', 'address' => '1629 W Main St', 'city' => 'Ville Platte', 'client' => 'Anette Albert', 'agent' => 'Michelle Rockwood', 'office' => 'Gardner Realtors', 'price' => '445', ), )

preferences:
184.46 ms | 409 KiB | 156 Q