From:             eyal at zend dot com
Operating system: linux
PHP version:      5.2.6
PHP Bug Type:     Bzip2 Related
Bug description:  bzip2.decompress, bzip2.compress are not registered as filters

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.*" }

-- 
Edit bug report at http://bugs.php.net/?id=45003&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45003&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45003&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45003&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45003&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45003&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45003&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45003&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45003&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45003&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45003&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45003&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45003&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45003&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45003&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45003&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45003&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45003&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45003&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45003&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45003&r=mysqlcfg

Reply via email to