Don't understand Re: Bug #764 Updated: ksort mixes the implicit variable types and result is unexpected.

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Don't understand Re: Bug #764 Updated: ksort mixes the implicit variable types and result is unexpected.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1342@lists.php.net to get a copy of this message
I just got this for the second time. Is it in answer to my latest update when I reopened the bug Zeev closed in category: Misbehaving function (nothing was misbehaving as explained below) ? I was trying to shift it to "Feature Request" for a kusort() function. But in the database I see it is still in "Misbehaving function" and the message below does not address the kusort() issue. Is category changing not allowed with the database tracker ? Should I open another entry for that ? Is the request already rejected ? I'm confused, Jean-Marc Libs PS: Please send an email copy to any answer, as I'm not subscribed to php-dev, just replying. PPS: Oh, and whatever happens to this issue, I'd just take the occasion to say that I think you developpers have been doing an incredible job on PHP3. On 21 Sep 1998, Bug Database wrote: > Date: 21 Sep 1998 20:07:08 -0000 > From: Bug Database <php-dev@lists.php.net> > To: libs@cybercable.tm.fr > Subject: Bug #764 Updated: ksort mixes the implicit variable types and result is unexpected. > > ID: 764 > Updated by: zeev > Reported By: libs@cybercable.tm.fr > Status: Closed > Bug Type: Misbehaving function > Assigned To: > Comments: > > This is the correct behavior. > Strings that look like numbers are automatically > converted to numbers in array indices, so > $foo["5"] is identical to $foo[5]. > > This isn't the case for strings with leading zeros, > that is, $foo["01"] is not the same as $foo["1"] or > $foo[1]. This is why you get this behavior. > > Full Bug description available at: > http://ca.php.net/bugs.php3?id=764 > > -- "While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named `Manual'" - Dilbert -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1342) next »