Re: 4.0.4

From: Date: Fri, 03 Nov 2000 08:07:50 +0000
Subject: Re: 4.0.4
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-36916@lists.php.net to get a copy of this message
I seemed to have fixed it now. My PHP 3 gave me the same results as PHP 4 BTW. But I don't know from when it is :) Andi At 08:45 PM 11/2/00 -0800, Rasmus Lerdorf wrote:
For PHP 3 I get: 95yaH.L90xorI ABokdXIfBIkGU CHxwVlW8DCrQ. DNBqWQX44Ajgc FTkvpo0GjoV92 GZivJSqPmQ4yo Ifx9OsHTuaXtc JlOX4fFDIksWA LriZPuz2hiwTo MxyCd4Y1A4o7I But PHP 4 gives: i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs i3E..J4nlljFs So, it looks to me like PHP 3 is working fine. Which version did you test? It definitely should be random, and there is code in PHP 4 that is supposed to make it random so something is definitely broken. -Rasmus On Fri, 3 Nov 2000, Andi Gutmans wrote: Jani, These bug reports certainly look like they should be fixed. Does anyone know what's up with the crypt() bug? It seems that PHP 3's salt also isn't random. <?
         for ($i=0; $i<10; $i++) {
                 print crypt("foo") . "\n";
         }
?> Output: SWYzxFZGNbhsk SWYzxFZGNbhsk SWYzxFZGNbhsk ... Bug #5571 might be fixed now because Zeev rewrote the INI parser but this needs to be checked. About the floating point problems on FreeBSD. There is code to handle this in zend.c but this might be a different floating point exception. If anyone has any more information/ideas that would be good. Andi At 01:47 AM 11/3/00 +0200, Jani Taskinen wrote:
On Thu, 2 Nov 2000, Andi Gutmans wrote:
I think it's time to start thinking of PHP 4.0.4. Besides the NEWS file being quite large there were some key issues that were fixed. Apache being caught in endless loops, the serializer got a complete
redo,
and quite a lot of other changes. Does anyone have any key patches pending? Are there any key issues/bugs which are open?
About crypt(): #6647, #6844, #6812, #6888, #7035, #7350, #7214, #7415 This one is also interesting..has a patch in it too: #5571 --Jani
--- Andi Gutmans <andi@zend.com> http://www.zend.com/
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#36916) next »