note 77884 deleted from function.ksort by nlopess

From: Date: Thu, 27 Dec 2007 14:42:14 +0000
Subject: note 77884 deleted from function.ksort by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134039@lists.php.net to get a copy of this message
Note Submitter: erikjr at gmail dot com ---- Just a short note on "don dot hosek at gmail dot com" remark, the ksort returns TRUE or FALSE and performs its actual operation directly on the array in the function call. Thus; it would be <?php ksort ( $a ); ?> instead of <?php $a = ksort ( $a ); ?> as noted in his piece. I didn't understand why my sorting kept returning '1' at first, but that was it.

« previous php.notes (#134039) next »