zend_hash_get_current_key_ex does not accept NULL for position anymore
[m6w6/ext-http] / php_http_env.c
index a2390b3284f08e88387f9742eadcec283a8f42bd..a2c3227ea94127d85a2b6b3dfc3bec3dcc8c8d3d 100644 (file)
@@ -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(&params, &key_str, &key_num, NULL)) {
+                       if (HASH_KEY_IS_STRING == zend_hash_get_current_key(&params, &key_str, &key_num)) {
                                sapi_post_entry *post_entry = NULL;
 
                                if ((post_entry = zend_hash_find_ptr(&SG(known_post_content_types), key_str))) {