note 7953 added to sort

From: Date: Tue, 22 Aug 2000 03:57:50 +0000
Subject: note 7953 added to sort
Groups: php.notes 
Request: Send a blank email to php-notes+get-2914@lists.php.net to get a copy of this message
Dear all, <br> Anyone try use the second parameter to change the sort behavior?<br> I tried like following:<br> sort ($numberarray, SORT_NUMERIC); /* $numberarray only contain integer */<br> but it prompt error: <br> Wrong parameter count for sort()<br> And I tried use all other two parameters, still like that.<br> What wrong? <br> Version:Apache/1.3.12 + PHP/3.0.15 + redhat 6.2 <br> Thx a lot. http://www.php.net/manual/function.sort.php

« previous php.notes (#2914) next »