PHP 8.4.24 Released!

Voting

: min(eight, zero)?
(Example: nine)

The Note You're Voting On

php at web-in-time dot com
19 years ago
acecream's function works fine, especially with the spectre extension.

nevertheless sometimes the index values have to be kept. To achieve this, just replace:

$sorted_arr[] = $array[$arr_key];  

with:

$sorted_arr[$arr_key] = $array[$arr_key];

<< Back to user notes page

To Top