ID: 17449
Updated by: behrens@takenet.de
Reported By: nohn@php.net
Status: Open
Bug Type: Arrays related
Operating System: Digital UNIX V4.0G (Rev. 1530)
PHP Version: 4.2.1
New Comment:
Well,
the script runs fine under my IRIX64 6.5.16m on mod_php/Apache 1.3.24
but not when using a 64bit cgi binary with Apache2.
Case 1
http://sgi.takenet.de/php/sort.php
Case 2
http://sgi.takenet.de:8080/php/sort.php
Previous Comments:
------------------------------------------------------------------------
[2002-05-27 11:11:05] michael.mauch@gmx.de
I checked some older versions:
until PHP-4.1.2, sort() was fine. I didn't check 4.2.0RC*, yet, but
will do so tomorrow.
------------------------------------------------------------------------
[2002-05-27 10:44:43] nohn@php.net
Updated version according to Michaels tests.
------------------------------------------------------------------------
[2002-05-27 10:39:24] nohn@php.net
This would be great. I tested it on PHP 4.2.1 on Win2k, it worked fine.
So it seems to be a platform specific problem.
I can help you with testing other versions on that machine/fixing the
bug. It would be nice, if some of the core developers (maybe Andrei,
Andi, Rasmus, Zeev, Jeroen, Derick - these are the people who did most
changes in the last months on array.c) could give us some information
on what files may affect this.
I've found that between 4.0.5 and 4.2.1 nearly the whole source for
PHP_FUNCTION(sort) has changed.
------------------------------------------------------------------------
[2002-05-27 09:46:54] michael.mauch@gmx.de
On Digital UNIX V4.0G (Rev. 1530), sort() does not work with PHP 4.2.1,
either. It does work with PHP 4.0.5 on that same platform. Should I try
PHP 4.1.x to see where things started to go wrong?
------------------------------------------------------------------------
[2002-05-27 06:38:51] sander@php.net
Reclassified.
------------------------------------------------------------------------
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/17449
--
Edit this bug report at http://bugs.php.net/?id=17449&edit=1