News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend PHP Certification Blog:
PHP Sorting Functions
December 21, 2011 @ 11:39:06

On the "Zend PHP Certification" blog (study notes), there's sort and natsort).

In all the countless hours I've spent with php, I've maybe used three or four of these sorting functions. I really had no idea that there is a total of eleven functions used for sorting arrays. Anyway, I'm betting that it may be useful to have these memorized before I take the Zend PHP Certification Exam so here is a brief overview of each one.

He talks about the various flags that can be used in the sorting (for regular, numeric, string and locale-based string handling) and the parameters to call for normal sorting, "natural" sorting, reverse key sorting and others. You can find specifics on these array sorting methods in the PHP manual.

0 comments voice your opinion now!
sorting function array natural reverse key user


blog comments powered by Disqus

Similar Posts

Eran Galperin's Blog: Passing arrays to Zend_Controller_Router

SitePoint PHP Blog: How to Encrypt Large Messages with Asymmetric Keys and phpseclib

PHP Zurich: Meeting Details - March 14th, 2006 @ 6:30pm

Atlanta PHP User Group: March 2006 Meeting - 2nd @ 7pm

DevShed: Fundamentals of Recursion in PHP (Part 1)


Community Events

Don't see your event here?
Let us know!


release framework application community conference podcast version laravel series performance introduction php7 library api example opinion interview voicesoftheelephpant composer symfony2

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework