X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env.c;h=a2c3227ea94127d85a2b6b3dfc3bec3dcc8c8d3d;hp=a2390b3284f08e88387f9742eadcec283a8f42bd;hb=a41703eafb1f1bb7f2968e97d471499c986a471b;hpb=6139024663154e9d02f5418621f7ee7f20e00c0d diff --git a/php_http_env.c b/php_http_env.c index a2390b3..a2c3227 100644 --- a/php_http_env.c +++ b/php_http_env.c @@ -33,7 +33,7 @@ PHP_RINIT_FUNCTION(http_env) zend_string *key_str; zend_ulong key_num; - if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(¶ms, &key_str, &key_num, NULL)) { + if (HASH_KEY_IS_STRING == zend_hash_get_current_key(¶ms, &key_str, &key_num)) { sapi_post_entry *post_entry = NULL; if ((post_entry = zend_hash_find_ptr(&SG(known_post_content_types), key_str))) {