You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,13 +225,10 @@ See also [`Compressor`](#compressor) for more details.
225
225
### Inconsistencies
226
226
227
227
The stream compression filters are not exactly the most commonly used features of PHP.
228
-
As such, we've spotted several inconsistencies (or *bugs*) between different PHP versions and HHVM.
228
+
As such, we've spotted some inconsistencies (or *bugs*) in different PHP versions.
229
229
These inconsistencies exist in the underlying PHP engines and there's little we can do about this in this library.
230
230
231
-
* All Zend PHP versions: Decompressing invalid data does not emit any data (and does not raise an error)
232
-
* HHVM only: does not currently support the GZIP and ZLIB format at all (and does not raise an error)
233
-
* HHVM only: The [`zlib.deflate` filter function](https://github.com/facebook/hhvm/blob/fee8ae39ce395c7b9b8910dfde6f22a7745aea83/hphp/system/php/stream/default-filters.php#L77) buffers the whole string. This means that compressing a stream of 100 MB actually stores the whole string in memory before invoking the underlying compression algorithm.
234
-
* PHP 5.3 only: Tends to SEGFAULT occasionally on shutdown?
231
+
* All PHP versions: Decompressing invalid data does not emit any data (and does not raise an error)
235
232
236
233
Our test suite contains several test cases that exhibit these issues.
237
234
If you feel some test case is missing or outdated, we're happy to accept PRs! :)
0 commit comments