PHP 8.5.0 Alpha 4 available for testing

Voting

: min(two, seven)?
(Example: nine)

The Note You're Voting On

utku
17 years ago
I don't think it would be wise to open a whole gzip file (it _is_ compressed for a reason, and likely to be a very big file) into a single string. You would most likely hit the php memory limits. Instead, if you need to process the file, put your gzread calls in a loop, and read incrementally by a setting $length to a constant value.

<< Back to user notes page

To Top