1
0
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:
David CARLIER
2025-04-21 14:47:52 +01:00
committed by GitHub
parent 0c2025cdc4
commit df39586a88

View File

@@ -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));