Re: [Zend Engine 2] Re: [PHP-DEV] Fw: Bumping PHP to support 8byte integers
| From: | Jeroen van Wolffelaar | Date: | Mon, 24 Sep 2001 07:13:35 +0000 |
| Subject: | Re: [Zend Engine 2] Re: [PHP-DEV] Fw: Bumping PHP to support 8byte integers | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66446@lists.php.net to get a copy of this message | ||
On Sun, 23 Sep 2001 mlwmohawk@mohawksoft.com wrote:
> Hey, it's open source, go for it dude. Let us know.
:-)
I at least wanted to hear wether there are some principial contra's
against this, because it would be a waste of time if it turned out that
one wouldn't ever think of implementing this. And I didn't know wether
this has been thought over before.
A major point is of course that it would probably break ALL extensions,
unless they use Z_LVAL() macro's all the time in stead of
zval.value.lval...
I'll see wether I can get it more or less running without too much
work... My estimate is that the performance inpact will be not more than
a few percents, probably lower. But it's an estimate!
> On the 32bit environments, 64bit integers are implemented as long long,
> unless you want to implement the 64bit manipulation routines yourself
> (yikes.)
I didn't plan to implement it myself... yikes indeed. The question was
wether all compilers on 32bit platforms DO have long long support at
all, in other words: is it true that all compilers for which PHP needs
to compile have a C-type which is 64bit (native or not)?
--Jeroen
Jeroen van Wolffelaar
Jeroen@A-Eskwadraat.nl
http://www.A-Eskwadraat.nl/~jeroen