Bug #17257 Updated: Sort functions broken on 64bit platform

From: Date: Fri, 21 Jun 2002 19:14:02 +0000
Subject: Bug #17257 Updated: Sort functions broken on 64bit platform
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11725@lists.php.net to get a copy of this message
ID: 17257 Updated by: mfischer@php.net Reported By: mlong@mlong.org Status: Feedback Bug Type: Scripting Engine problem Operating System: Compaq Tru64 5.1 PHP Version: 4.2.1 New Comment: It's $ yacc --version GNU Bison version 1.28 on linux here. Maybe you should consider installing the GNU version of that tool for use compiling PHP, I'm not aware of NON-GNU yacc's are even supported. Previous Comments: ------------------------------------------------------------------------ [2002-06-21 15:01:51] mlong@mlong.org I'm not sure how to find out the version. It's not GNU it's compaq's which came with the OS. This particular system is running Compaq Tru64 UNIX V5.0A (Rev. 1094) ------------------------------------------------------------------------ [2002-06-21 14:11:46] mfischer@php.net What version of yacc is it, and is it GNU yacc ? ------------------------------------------------------------------------ [2002-06-21 14:10:17] mlong@mlong.org Oh that yacc error was when I did a make...I was a bit vague in my last comment ------------------------------------------------------------------------ [2002-06-21 14:09:04] mlong@mlong.org I could look into that but since the non-user defined functions are also broken (sort, krsort, etc.) the problem is probably bigger than just the undefined comparison. Also I did try without oci. In fact, I did a "./configure" and that is it for 200206210000 and I got: yacc /web/php4-200206210000/ext/standard/parsedate.y fatal error: invalid escape, or illegal reserved word: expect, line 184 *** Exit 1 Stop. I'm not familar enough with yacc to fix it but I know 4.2.0 compiled OK. Let me know if I can be of further assistance ------------------------------------------------------------------------ [2002-06-21 14:07:38] mfischer@php.net $%#^%^$%, here is the text, hopefully more readable: If two members compare as equal, their order in the sorted array is undefined.Up to PHP 4.0.6 the user defined functions would keep the original order for thoes elements, but with the new sort algorithm intruduced with 4.1.0 this is no longer the case as there is no solution to do so in an efficient way.there is no solution to do so in an efficient way.way. ------------------------------------------------------------------------ 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/17257 -- Edit this bug report at http://bugs.php.net/?id=17257&edit=1

« previous php.bugs (#11725) next »