Re: [RFC] 64 bit platform improvements for string length and integer
| From: | Nikita Popov | Date: | Fri, 10 Jan 2014 21:42:49 +0000 |
| Subject: | Re: [RFC] 64 bit platform improvements for string length and integer | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71048@lists.php.net to get a copy of this message | ||
On Fri, Jan 10, 2014 at 3:58 PM, Anatol Belski <ab@php.net> wrote:
> Hi,
>
> https://wiki.php.net/rfc/size_t_and_int64
>
> The discussion time has come. The work on the feature branch continues.
> The current patch is stable enough to be discussed.
>
What is the reason behind the renames of IS_LONG to IS_INT (and Z_LVAL to
Z_IVAL etc), as well as the renames in zpp (s -> S, etc)? Why can't we keep
the old names here? That should reduce the amount of ifndefs involved a
lot, as you'd only have to do it for the type declarations themselves, not
for every single usage. Or is the point here to intentionally provide a
maximum amount of BC breakage, so code doesn't "accidentally" continue to
run (e.g. I think that without the renames extensions could continue to run
mostly without issue on 32bit.)
Nikita