Re: Small mistake on wiki
| From: | Kalle Sommer Nielsen | Date: | Thu, 12 Jan 2017 08:59:41 +0000 |
| Subject: | Re: Small mistake on wiki | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97719@lists.php.net to get a copy of this message | ||
Hi
2017-01-12 9:38 GMT+01:00 <sachavav@tut.by>:
> Hi,
>
> The page @�;�¾‘Ûð
> ¸KK›Ñhttps://wiki.php.net/phpng-upgrading#call_frame_changes_zend_execute_data
> says:
>
>> zend_execute_data.num_args - number of arguments passed to the function (this is a new
>> field)
>
> However, there's no such field in zend_execute_data structure:
>
> https://github.com/php/php-src/blob/PHP-7.0.15/Zend/zend_compile.h#L430
> it's in zend_function:
> https://github.com/php/php-src/blob/PHP-7.0.15/Zend/zend_compile.h#L414
>
> Probably this line should be removed from the wiki page.
True, but PHP 5 is still widely available and 5.6 is still supported.
Some companies support their extensions for PHP even longer than we
support that specific branch, so leaving such information, despite we
have only a tiny bit internals docs laying around may not be such a
bad idea.
--
regards,
Kalle Sommer Nielsen
kalle@php.net