note 15006 added to function.array-multisort.php

From: Date: Fri, 24 Aug 2001 02:25:22 +0000
Subject: note 15006 added to function.array-multisort.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17057@lists.php.net to get a copy of this message
if you're having problems with array_multisort changing variables in global space when it is called inside a function and you're not passing in the function parameters by reference you can alleviate the problem by calling array_multisort with its parameters by reference, eg, array_multisort(&$a, SORT_DESC, &$b); More details here in my bug report: http://www.php.net/bugs.php?id=12936 http://www.php.net/manual/en/function.array-multisort.php

« previous php.notes (#17057) next »