projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
zend_hash_get_current_key_ex does not accept NULL for position anymore
[m6w6/ext-http]
/
php_http_header.c
diff --git
a/php_http_header.c
b/php_http_header.c
index 709b85bb3cea22f528bd3b13bb2adaeaa77ec16e..0ae381ea1469058fbd4e812effc7bcb3ccd4cb12 100644
(file)
--- a/
php_http_header.c
+++ b/
php_http_header.c
@@
-187,7
+187,7
@@
PHP_METHOD(HttpHeader, unserialize)
zend_ulong idx;
zend_hash_internal_pointer_reset(&ht);
zend_ulong idx;
zend_hash_internal_pointer_reset(&ht);
- switch (zend_hash_get_current_key
_ex(&ht, &key, &idx, NULL
)) {
+ switch (zend_hash_get_current_key
(&ht, &key, &idx
)) {
case HASH_KEY_IS_STRING:
zend_update_property_str(php_http_header_class_entry, getThis(), ZEND_STRL("name"), key);
break;
case HASH_KEY_IS_STRING:
zend_update_property_str(php_http_header_class_entry, getThis(), ZEND_STRL("name"), key);
break;