PHP 8.5.0 Alpha 2 available for testing

Voting

: six plus zero?
(Example: nine)

The Note You're Voting On

bwuhlman at tallships dot ca
24 years ago
Well, actually, asort has *two* annoying features.

It works perfectly well sorting hashes (or associative arrays, as you might have it), but doggedly refuses to sort regular arrays maintaining index assocation. Kind've makes sense, but the docs don't explicitly say you can't do it.

Urgggh.

<< Back to user notes page

To Top