php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45003 bzip2.decompress, bzip2.compress are not registered as filters
Submitted: 2008-05-15 08:55 UTC Modified: 2008-05-24 01:00 UTC
From: eyal at zend dot com Assigned:
Status: No Feedback Package: Bzip2 Related
PHP Version: 5.2.6 OS: linux
Private report: No CVE-ID: None
 [2008-05-15 08:55 UTC] eyal at zend dot com
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.*" }

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-16 21:26 UTC] jani@php.net
I'd expect Zend people to know better and give enough information without having to ask for it. As an exercise to figure out what essential information is missing, I will not really ask for it but let you figure it out yourself. 
 [2008-05-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 10:01:27 2024 UTC