Skip to content

Commit

Permalink
Fix php7.0 bug in runkit_import_class_consts
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre authored and TysonAndre-tmg committed Aug 17, 2017
1 parent c30a11e commit 504100c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runkit_import.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static int php_runkit_import_class_consts(zend_class_entry *dce, zend_class_entr
#if PHP_VERSION_ID >= 70100
ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c) { /* } */
#else
ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->constants_table, key, c_zval) {
ZEND_HASH_FOREACH_STR_KEY_VAL(&ce->constants_table, key, c_zval) {
#endif
long action = HASH_ADD;
#if PHP_VERSION_ID >= 70100
Expand Down

0 comments on commit 504100c

Please sign in to comment.