]> granicus.if.org Git - php/commit
Remove properties HT from nested GC data
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 26 Aug 2019 15:48:05 +0000 (17:48 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 26 Aug 2019 15:49:37 +0000 (17:49 +0200)
commit589542f50cbaf2bfc88aea79092df9db54f75ac6
tree45290742014449a3a2f224ec0e8495c61c421517
parent1e82a2d659aac6ef95a6820d4f6ac3684e07bcad
Remove properties HT from nested GC data

The properties HT may be a GC root itself, so we need to remove it.
I'm not sure this issue actually applies to PHP 7.2, but committing
it there to be safe. As seen from the test case, the handling here
is rather buggy on 7.2.
Zend/tests/gc_042.phpt [new file with mode: 0644]
Zend/zend_gc.c