Re: Re: crc32() and ip2long() return values

From: Date: Mon, 02 Sep 2013 16:35:54 +0000
Subject: Re: Re: crc32() and ip2long() return values
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
No, just this thread of e-mails.

What I'm suggesting is simply a set of alternative functions to ip2long()
and crc32() that return consistent values on all platforms, e.g. 32-bit
signed integer values - a couple of new functions and a couple of quick
updates to the documentation explaining why you might want to use them,
that's all.



On Mon, Sep 2, 2013 at 3:51 AM, Stas Malyshev <[email protected]>wrote:

> Hi!
>
> > Yes, all of these problems can be solved - I am well aware of that. I am
> > also painfully aware of how much time it can take to solve them reliably.
> >
> > I just would like to see a solution rather than a bunch of work-arounds -
> > not for my own sake, my problem is solved, but for the sake of every poor
> > fool who's going to fall into these traps.
>
> Sorry if I missed it in the thread - so what is your proposal? Is there
> a patch/RFC/something else for it?
>
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>


Thread (14 messages)

« previous php.internals (#68854) next »