Skip to content

Commit d34c8fa

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents b6e34ea + 6b9ccda commit d34c8fa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ PHP NEWS
1313
. Fixed bug #75290 (debug info of Closures of internal functions contain
1414
garbage argument names). (Andrea)
1515

16+
- Apache2Handler:
17+
. Fixed bug #75311 (error: 'zend_hash_key' has no member named 'arKey' in
18+
apache2handler). (mcarbonneaux)
19+
1620
- Hash:
1721
. Fixed bug #75303 (sha3 hangs on bigendian). (Remi)
1822

sapi/apache2handler/apache_config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, zval *zv,
128128

129129
if (new_per_dir_entry->status >= orig_per_dir_entry->status) {
130130
/* use new entry */
131-
phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", hash_key->arKey, new_per_dir_entry->status, orig_per_dir_entry->status));
131+
phpapdebug((stderr, "ADDING/OVERWRITING %s (%d vs. %d)\n", ZSTR_VAL(hash_key->key), new_per_dir_entry->status, orig_per_dir_entry->status));
132132
return 1;
133133
} else {
134134
return 0;
@@ -176,7 +176,7 @@ void apply_config(void *dummy)
176176
php_dir_entry *data;
177177

178178
ZEND_HASH_FOREACH_STR_KEY_PTR(&d->config, str, data) {
179-
phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value));
179+
phpapdebug((stderr, "APPLYING (%s)(%s)\n", ZSTR_VAL(str), data->value));
180180
if (zend_alter_ini_entry_chars(str, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
181181
phpapdebug((stderr, "..FAILED\n"));
182182
}

0 commit comments

Comments
 (0)