mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Use string_len information
This commit is contained in:
parent
a769454d79
commit
feaa12a9bf
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
|
|||
PUTS("[\"");
|
||||
switch (zend_hash_get_current_key_ex(Z_ARRVAL_PP(data), &string_key, &string_len, &num_key, 0, NULL)) {
|
||||
case HASH_KEY_IS_STRING:
|
||||
php_html_puts(string_key, strlen(string_key) TSRMLS_CC);
|
||||
php_html_puts(string_key, string_len TSRMLS_CC);
|
||||
break;
|
||||
case HASH_KEY_IS_LONG:
|
||||
php_printf("%ld", num_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue