Browse Source

object::properties_table is PHP_5_4+ only

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1571 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 7 years ago
parent
commit
ef3a8f0221
  1. 2
      processor/var-helper.h

2
processor/var-helper.h

@ -47,6 +47,7 @@ static void xc_var_collect_object(xc_processor_t *processor, zend_object_handle
xc_var_collect_object_in_hashtable(processor, object->properties TSRMLS_CC);
}
#ifdef ZEND_ENGINE_2_4
/* TODO: is this necessary? */
if (object->properties_table) {
int i, count = zend_hash_num_elements(&object->ce->properties_info);
@ -54,6 +55,7 @@ static void xc_var_collect_object(xc_processor_t *processor, zend_object_handle
xc_var_collect_object_in_zval(processor, object->properties_table[i] TSRMLS_CC);
}
}
#endif
}
}
/* }}} */

Loading…
Cancel
Save