if I wanted strings or something else, that would be simple enough -
sprintf() will do the job.

in my case, I needed a scalar value that I can actually persist to the
database.

On Mon, Sep 2, 2013 at 4:21 PM, Stas Malyshev <smalys...@sugarcrm.com>
 wrote:

> Hi!
>
> > 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.
>
> Why 32-bit signed values and not something else - like binhex or some
> other form? What these values are to be used for?
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
>

On Mon, Sep 2, 2013 at 4:21 PM, Stas Malyshev <smalys...@sugarcrm.com>wrote:

> Hi!
>
> > 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.
>
> Why 32-bit signed values and not something else - like binhex or some
> other form? What these values are to be used for?
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>

Reply via email to