Re: Re: PHP 7.3 zif_handler changes
| From: | Jan Ehrhardt | Date: | Wed, 04 Jul 2018 16:49:55 +0000 |
| Subject: | Re: Re: PHP 7.3 zif_handler changes | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102579@lists.php.net to get a copy of this message | ||
Nikita Popov in php.internals (Wed, 4 Jul 2018 12:24:10 +0200):
>On Wed, Jul 4, 2018 at 11:32 AM, Christoph M. Becker <cmbecker69@gmx.de>
>wrote:
>
>> zend_gc_status status;
>> zend_gc_get_status(&status);
>> if (status.runs) {
>>
>
>The correct way to handle this is to implement a proper get_gc() handler,
>which will be called in favor of get_properties() during GC.
Could you put an example snippet in the comments of this PR for the v8js
extension: https://github.com/phpv8/v8js/pull/363
--
Jan