Re: [RFC] 64 bit platform improvements for string length and integer

From: Date: Fri, 24 Jan 2014 09:43:45 +0000
Subject: Re: [RFC] 64 bit platform improvements for string length and integer
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi Chris,

On Thu, January 23, 2014 21:36, Christopher Jones wrote:
>

>
> On 01/23/2014 12:36 PM, Christopher Jones wrote:
>
>
>> For reference, here is Anatol's mapping that allows extensions using
>> the new types etc to compile with older PHP releases:
>> https://github.com/php/php-src/blob/str_size_and_int64/compat/compat.h
>> I would have leaned towards not requiring macro name changes, but I
>> wouldn't vote against the RFC because of them.
>
> Anatol: what about creating the inverse of the compat.h #defines?  Old
> code can include those definitions and wouldn't need as many changes?
>
The macros are easy done of course, but the long/int keywords would
conflict with the built-in types, wouldn't they? Well, if zpp var
datatypes were still replaced, it should work. Is that what you mean?

Regards

Anatol





Thread (80 messages)

« previous php.internals (#71490) next »