Re: 5.NEXT Integer and String type modifications
| From: | Johannes Schlüter | Date: | Sun, 02 Jun 2013 06:40:08 +0000 |
| Subject: | Re: 5.NEXT Integer and String type modifications | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67603@lists.php.net to get a copy of this message | ||
Andrey Hristov <php@hristov.com> wrote:
>what about new type IS_LONG64, new field in union and new set of macros
>
>for this type. New extensions or rewritten extensions will use the new
>macros. In 2-3 major versions, 5.8 for example, old macros will be
>dropped. Enough time extensions to be ported to the new macros.
Unortunately a lot of code makes assumptions about the type system, so adding (or changing) a type
can cause issues which are hard to find without going through the code line by line with a lot of
concentration, mistakes there will lead to evil bugs ... and all that where the cmpiler won't
help unless we change names of structure elements and macros ... so forcing us to touch any line
using a zval bool/long/...
But if people are volunteering I'd be happy about such improvements.
johannes