You are here: Re: handling 64 bit ints in php « PHP Programming Language « IT news, forums, messages
Re: handling 64 bit ints in php

Posted by My Pet Programmer on 12/28/07 07:03

Sandman said:
> Hello,
> My platform is Solaris 2.11 on x86, amd64 actually.
>
> I'm working with a product that requires 64-bit values be returned
> as ints. Php 5.2.5 however returns this as a float. Is there some
> option I can twiddle to change this?? Is it a matter of just casting?
> It didn't seem to do the job. I can re-build source if necessary
>
> I posted to php.dev as well, but it seems there is more spam than
> information on that group.
>
> Thanks.
> S

Try the big_int package from pecl: http://pecl.php.net/package/big_int

It worked for me in a similar case.

All the best,
~A!

--
Anthony Levensalor
anthony@mypetprogrammer.com

Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former. - Albert Einstein

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация