Bug #17307 Updated: sorting using usort() does not produce correct result anymore
| From: | timebreaker at newmail dot ru | Date: | Mon, 17 Jun 2002 10:52:12 +0000 |
| Subject: | Bug #17307 Updated: sorting using usort() does not produce correct result anymore | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10835@lists.php.net to get a copy of this message | ||
ID: 17307
Updated by: timebreaker@newmail.ru
Reported By: fcartegnie@nordnet.fr
Status: Bogus
Bug Type: Arrays related
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Hi!
It's really a problem. I tried to write simple ascending sort routine
and got strange results too. Met the conditions at Intel
P-133/Win98/Apache2.0.35/PPH4.2.0 and PHP4.2.1, it doesn't matter what
the version is. In 4.0.6/4.1.x everything works...
Previous Comments:
------------------------------------------------------------------------
[2002-06-04 13:58:40] mfischer@php.net
Heh, ok. Still better then a bug in PHP :) thx.
------------------------------------------------------------------------
[2002-06-04 13:44:21] mauf@franzoni.info
I fixed the problem in my sort routine... it works now (for 4.2.1, so
far it seems it was 4.0.6 the buggy one as it has worked for a long
while). So far there may be at most a backward compatibility issue (I
still have to check back in 4.0.6) but it is no longer worth the
critical status for sure...
sorry for the bothering,
cheers, mauro
------------------------------------------------------------------------
[2002-06-04 12:00:07] mauf@franzoni.info
No, I hit the problem on a P3 first... currently testing on a celeron -
both using apache 2.0.36, debian with 2.4.18 on p3, rh7.2 (2.4.7-10) on
celeron.
here is the config, if it can helps:
./configure \
--prefix=/usr/local/php4-200206040600 \
--with-mysql=/usr/local/mysql-3.23.49 \
--with-apxs2=/usr/local/httpd-2.0.36/bin/apxs \
--enable-track-vars \
--enable-sigchild \
--enable-shared \
--enable-cxx \
--enable-cli=yes
(I tried to track it a while but I get scrambled when it comes into the
zend modules :-( )
------------------------------------------------------------------------
[2002-06-04 10:35:57] mfischer@php.net
Setting to critical without further investigation, hope someone can
check this out soon.
Btw, are you on a 64bit platform?
------------------------------------------------------------------------
[2002-06-04 10:30:39] mauf@franzoni.info
mmmhhh... I just tried php4-200206040600.tar.gz from snaps but it keeps
sorting wrong...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17307
--
Edit this bug report at http://bugs.php.net/?id=17307&edit=1