How to implement the exchange sort of array without using php api function
This article mainly explains "how to achieve array exchange sorting without using php api function", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to use the php api function to achieve array exchange sorting" bar!
The copy code is as follows:
$arr = array (900, 20, 16, 50,-2, 10, 3); $min = $max = 0 for ($job0