Re: 5.NEXT Integer and String type modifications

From: Date: Fri, 31 May 2013 19:33:17 +0000
Subject: Re: 5.NEXT Integer and String type modifications
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-67597@lists.php.net to get a copy of this message
Anthony Ferrara <ircmaxell@gmail.com> wrote: > I want to start an idea thread (or at least get a conversation going) > about > cleaning up the core integer data type and string lengths. Here's my > ideas: > > 1. Change string length in the ZVAL from int to size_t > - http://lxr.php.net/xref/PHP_5_5/Zend/zend.h#321 > 2. Change long in the ZVAL (lval) to a system-determined 64bit fixed > size In principle I think this is great thing to do. Not having a 64 bit type is annoying. I'm a bit curious on how this is going to work with all sorts of object wrappers that are now in place as workaround. And casting int64 to int32 needs to very well looked at as well. Derick

« previous php.internals (#67597) next »