Hi Dmitry,
> On 15 Jan 2015, at 11:11, Dmitry Stogov <[email protected]> wrote:
>
> BTW: why not to wrap big integers into special IS_OBJECT?
> It would keep everything working out of the box (without BIGINT), and would allow to eliminate
> more than half of unnecessary changes.
>
> In the past we made similar decision for closures.
In retrospect that might have been a good idea. Though objects can't quite do everything our
primitive types can. To get bigints to work that way, you'd need to improve the support for
objects a lot. You'd still need to update virtually every zval-accepting extension. The
signature of is_numeric_string_ex would still have to change. You would need to make constants
support objects, too. You'd still need to change a lot of things, unfortunately.
At this stage, switching to using objects is probably a waste of time.
Thanks.
--
Andrea Faulds
http://ajf.me/
>
> Thanks. Dmitry.
>
>> On Thu, Jan 15, 2015 at 2:01 PM, Andrea Faulds <[email protected]> wrote:
>> Hey Dmitry,
>>
>>> On 15 Jan 2015, at 07:56, Dmitry Stogov <[email protected]> wrote:
>>>
>>> ext/session and ext/json are required by most apps.
>>> Actually I stopped attempts to build it when I saw compilation errors in ext/session.
>>>
>>> Thanks. Dmitry.
>>