]> granicus.if.org Git - php/commitdiff
fix zend_hash_get_current_key_type_ex proto
authorRemi Collet <remi@php.net>
Thu, 10 Sep 2020 10:40:47 +0000 (12:40 +0200)
committerRemi Collet <remi@php.net>
Thu, 10 Sep 2020 10:40:47 +0000 (12:40 +0200)
Zend/zend_hash.h

index 3d12efcc05450a5f8a880e57d24562cb4398758f..ced21a2ca1557eb3fac945c1e5ff859077079173 100644 (file)
@@ -231,7 +231,7 @@ ZEND_API zend_result   ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, Ha
 ZEND_API zend_result   ZEND_FASTCALL zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos);
 ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
 ZEND_API void  ZEND_FASTCALL zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, HashPosition *pos);
-ZEND_API zend_result   ZEND_FASTCALL zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos);
+ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos);
 ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos);
 ZEND_API void  ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos);
 ZEND_API void  ZEND_FASTCALL zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos);