mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Oops..
This commit is contained in:
parent
f4595d18af
commit
ed40a56c6c
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ static int php_array_element_export(zval **zv, int num_args, va_list args, zend_
|
|||
} else { /* string key */
|
||||
char *key;
|
||||
int key_len;
|
||||
key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength, &key_len, 0, "'\\", 2 TSRMLS_CC);
|
||||
key = php_addcslashes(hash_key->arKey, hash_key->nKeyLength - 1, &key_len, 0, "'\\", 2 TSRMLS_CC);
|
||||
php_printf("%*c'%s' => ", level + 1, ' ', key);
|
||||
efree(key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue