Category: PHP

PHP has a number of sorting functions which can help in sorting single dimension arrays. Some examples include, sort, asort, usort, ksort etc. Each of the functions sort the array according to different behaviour. In order to sort multi-dimensional arrays, PHP provides array_multisort Function.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners