mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- no trailing NULs
This commit is contained in:
parent
1b716123f2
commit
d11d157c9f
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ PHP_FUNCTION(hash_algos)
|
|||
for(zend_hash_internal_pointer_reset_ex(&php_hash_hashtable, &pos);
|
||||
(type = zend_hash_get_current_key_ex(&php_hash_hashtable, &str, &str_len, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
|
||||
zend_hash_move_forward_ex(&php_hash_hashtable, &pos)) {
|
||||
add_next_index_stringl(return_value, str, str_len, 1);
|
||||
add_next_index_stringl(return_value, str, str_len-1, 1);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue