mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/zlib: gzfile() files list as packed array (#18380)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user