Loading...

PHP Sort Array on a Key (using sort method inside of a Class)

5,244 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Dec 12, 2011

Here we learn how to sort an array, based on of the keys in the array, and doing that sort with a function that is inside of a class

The sort method uses strnatcasecmp which does a natural string compare that doesn't care about case.

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...