ID:               4773
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Won\'t fix
 Bug Type:         Misbehaving function
 Operating System: Solaris 2.6, probably all
 PHP Version:      3.0.16
 New Comment:

We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

looks fine in php 4.2.3


Previous Comments:
------------------------------------------------------------------------

[2000-06-02 13:48:55] [EMAIL PROTECTED]

SCRIPT
------

function cmpfunc($a,$b)
{
    echo "*$a**$b*<BR>";
    echo strtr("*$a**$b*<BR>","\0","_");
    
    if ($a<$b) return -1;
    else if ($a==$b) return 0;
    else return 1;
}

$a=array("a" => 1, "b" => 2);

uksort($a,cmpfunc);

OUTPUT
------

*a
*a_**b_*
*a
*a_**b_*


CONFIGURE
---------

./configure --with-apxs=/usr/local/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-pgsql=/usr/local/ --with-gd=$HOME/ \
--with-snmp --with-sysvsem --with-sysvshm

Apache version: 1.3.11
The same thing happens on Linux with PHP 3.0.12.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=4773&edit=1

Reply via email to