We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45210b4 commit 912c22cCopy full SHA for 912c22c
Zend/zend_enum.c
@@ -199,7 +199,7 @@ zend_result zend_enum_build_backed_enum_table(zend_class_entry *ce)
199
200
zend_string *name;
201
zval *val;
202
- ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(&ce->constants_table, name, val) {
+ ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(CE_CONSTANTS_TABLE(ce), name, val) {
203
zend_class_constant *c = Z_PTR_P(val);
204
if ((ZEND_CLASS_CONST_FLAGS(c) & ZEND_CLASS_CONST_IS_CASE) == 0) {
205
continue;
0 commit comments