0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-03-13 12:37:01 +00:00
This commit is contained in:
Jan-E 2018-07-04 11:50:35 +02:00
parent 997df065d3
commit 0a12ac19d8

View File

@ -211,7 +211,9 @@ static HashTable *v8js_v8object_get_properties(zval *object) /* {{{ */
if (obj->properties == NULL) {
#if PHP_VERSION_ID >= 70300
if (zend_gc_collect_cycles()) {
zend_gc_status gc_status;
zend_gc_get_status(&gc_status);
if (gc_status.runs) {
#else
if (GC_G(gc_active)) {
#endif