summaryrefslogtreecommitdiff
path: root/processor
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-11-12 04:08:46 +0000
committerXuefer <xuefer@gmail.com>2014-11-12 04:08:46 +0000
commitef3a8f0221f51896ad8faf9000888d9e56cfe1b4 (patch)
tree923ebabb5bc83a1ff7aad76f50529ddfc3605fdf /processor
parent63d878bdb58a77458c7083807bfff04353a0ada0 (diff)
downloadxcache-ef3a8f0221f51896ad8faf9000888d9e56cfe1b4.tar.gz
xcache-ef3a8f0221f51896ad8faf9000888d9e56cfe1b4.zip
object::properties_table is PHP_5_4+ only
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1571 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'processor')
-rw-r--r--processor/var-helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/processor/var-helper.h b/processor/var-helper.h
index a968978..aa74e8e 100644
--- a/processor/var-helper.h
+++ b/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
}
}
/* }}} */