Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

Re: [PHP-DEV] 4.0.4 From: Rasmus Lerdorf (rasmus <email protected>)
Date: 11/02/00

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 <email protected>>
> http://www.zend.com/
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>