mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/zlib: gzfile() files list as packed array (#18380)
This commit is contained in:
parent
0c2025cdc4
commit
df39586a88
1 changed files with 1 additions and 0 deletions
|
@ -631,6 +631,7 @@ PHP_FUNCTION(gzfile)
|
|||
|
||||
/* Initialize return array */
|
||||
array_init(return_value);
|
||||
zend_hash_real_init_packed(Z_ARRVAL_P(return_value));
|
||||
|
||||
/* Now loop through the file and do the magic quotes thing if needed */
|
||||
memset(buf, 0, sizeof(buf));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue