|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2008-05-16 21:26 UTC] jani@php.net
  [2008-05-24 01:00 UTC] php-bugs at lists dot php dot net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
Description: ------------ After installing php 5.2.6 and executing its phpt's, the following tests failed: ext/bz2/tests/bz2_filter_compress.phpt ext/bz2/tests/bz2_filter_decompress.phpt bz2 extension is loaded and phpinfo() displayes: Stream Filter support - bzip2.decompress, bzip2.compress However, the section of registered stream filters doesn't contain bzip2.compress/decompress Reproduce code: --------------- <?php $streamlist = stream_get_filters(); var_dump($streamlist); ?> Expected result: ---------------- array(9) { [0]=> string(12) "string.rot13" [1]=> string(14) "string.toupper" [2]=> string(14) "string.tolower" [3]=> string(17) "string.strip_tags" [4]=> string(9) "convert.*" [5]=> string(8) "consumed" [6]=> string(6) "zlib.*" [7]=> string(7) "bzip2.*" [8]=> string(15) "convert.iconv.*" } Actual result: -------------- array(7) { [0]=> string(12) "string.rot13" [1]=> string(14) "string.toupper" [2]=> string(14) "string.tolower" [3]=> string(17) "string.strip_tags" [4]=> string(9) "convert.*" [5]=> string(8) "consumed" [6]=> string(6) "zlib.*" }