summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-12-11 18:46:43 +0000
committerAndi Gutmans <andi@php.net>2001-12-11 18:46:43 +0000
commit4cb97fa3b9869883a645e6ef807965c570570afa (patch)
treef34be749858934f6b8fc2cbe05882b801b853e56 /Zend/zend_execute_API.c
parent1dcef1e4ea8dd4678ae0558119642fdd9cb95606 (diff)
downloadphp-git-4cb97fa3b9869883a645e6ef807965c570570afa.tar.gz
- Rename zend_class_entry.constants -> zend_class_entry.constants_table
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index ea9c3dee4a..a9ea4469a7 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -328,7 +328,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC)
}
last = cur;
}
- if (zend_hash_find(&ce->constants, last, strlen(last)+1, (void **) &value) == FAILURE) {
+ if (zend_hash_find(&ce->constants_table, last, strlen(last)+1, (void **) &value) == FAILURE) {
zend_error(E_ERROR, "Invalid class! Improve this error message");
}
const_value = **value;