Re: [RFC] Simplified Array API for extensions
| From: | Sara Golemon | Date: | Fri, 29 May 2015 22:54:27 +0000 |
| Subject: | Re: [RFC] Simplified Array API for extensions | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86459@lists.php.net to get a copy of this message | ||
Not thoroughly tested, but it compiles at least.
Give the latest commit a shot:
https://github.com/sgolemon/php-array-api/commit/1274a2bcbc3eca78dbd35702136b0034b67afc8f
-Sara
On Fri, May 29, 2015 at 1:25 PM, Sara Golemon <pollita@php.net> wrote:
> Ah, well that I'll probably do soonish, but as you already know, it
> doesn't need to be in the php-src tree to work. :)
>
> On Fri, May 29, 2015 at 12:37 PM, Hannes Magnusson
> <hannes.magnusson@gmail.com> wrote:
>> I was hoping someone had ported that header file to PHP7 too, for
>> easier upgrade path from PHP5 for projects already using it :]
>>
>> -Hannes
>>
>>
>> On Fri, May 29, 2015 at 12:33 PM, Sara Golemon <pollita@php.net> wrote:
>>> Yeah, way too late for PHP 7.0, but on the plus side the zend hash API
>>> has changed in ways which make this facade much less necessary. Not
>>> redundant, necessarily, but the biggest pain point (getting zval** by
>>> reference) is gone (we now get zval* via return).
>>>
>>> -Sara
>>>
>>> On Fri, May 29, 2015 at 12:14 PM, Scott Arciszewski <scott@paragonie.com> wrote:
>>>> Naive answer: P(inclusion) = 0, due to the feature freeze. Unless I'm
>>>> mistaken.
>>>>
>>>> If so, you might need to target 7.1 instead of 7.0.
>>>>
>>>> Scott Arciszewski
>>>> Chief Development Officer
>>>> Paragon Initiative Enterprises <l¡T
>>>> ¼Qò™2nÇU×https://paragonie.com>
>>>>
>>>> On Fri, May 29, 2015 at 2:56 PM, Hannes Magnusson <
>>>> hannes.magnusson@gmail.com> wrote:
>>>>
>>>>> What are the chances anyone updated this to support PHP7 yet?
>>>>>
>>>>>
>>>>>
>>>>> -Hannes
>>>>>
>>>>>
>>>>> On Mon, Aug 11, 2014 at 5:17 PM, Andrea Faulds <ajf@ajf.me> wrote:
>>>>> >
>>>>> > On 12 Aug 2014, at 01:15, Tjerk Meesters <tjerk.meesters@gmail.com>
>>>>> wrote:
>>>>> >
>>>>> >>
>>>>> >> On 12 Aug, 2014, at 5:03 am, Andrea Faulds <ajf@ajf.me> wrote:
>>>>> >>
>>>>> >>>
>>>>> >>> On 11 Aug 2014, at 22:00, Hannes Magnusson
>>>>> >>> <hannes.magnusson@gmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>> I think it would be fantastic if this would be included in
>>>>> >>>> 5.6.
>>>>> >>>
>>>>> >>> Too late for 5.6, but 5.7 perhaps (can we please have this? 7 will
>>>>> break BC and I’d like to get some stuff in next year, not in 2 years).
>>>>> >>
>>>>> >> Can this API be retained as is when NG gets merged?
>>>>> >>
>>>>> >> I would hate to see developers put in effort to take advantage of this
>>>>> simplified API in 5.x only to have to make changes again for 7.
>>>>> >
>>>>> > If it can’t, I’d suggest only adding this in ng in the first place.
>>>>> > --
>>>>> > Andrea Faulds
>>>>> > http://ajf.me/
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>>
>>>>> --
>>>>> PHP Internals - PHP Runtime Development Mailing List
>>>>> To unsubscribe, visit:
>>>>> http://www.php.net/unsub.php
>>>>>
>>>>>