|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13620 bzip2 extension seems to be broken
Submitted: 2001-10-09 19:22 UTC Modified: 2002-02-05 06:48 UTC
From: lolo at phpheaven dot net Assigned:
Status: Closed Package: Bzip2 Related
PHP Version: 4.1.0 OS: Win98 SE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: lolo at phpheaven dot net
New email:
PHP Version: OS:


 [2001-10-09 19:22 UTC] lolo at phpheaven dot net
Hi All!

Here is a little script to reproduce the bug:

$var = bzcompress('abcdef123');
echo $var . '<br />' . "\n";
echo bzdecompress($var);

It returns:

My config:
- Apache 1.3.20 on Win98-SE;
- php-4.0.7-rc3 or php-4.0.8-dev (latest build from loaded as an Apache module;
- php.ini is the recommended one except pathes and two extensions loaded: php_bz2.dll and php_zlib.dll.

Kind regards,


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-21 02:12 UTC]
I can not reproduce this with PHP 4.1.0RC1 on Linux.
Could this be windows specific problem?


 [2001-11-11 06:42 UTC]
4.0.6 works fine for me on Windows.
4.0.8 (the build from php4win) prints out:
A self-built 4.2.0-dev (200111080300) gives these errors:
bzcompress failed in script.php on line 2
bzdecompress failed in script.php on line 4

 [2001-11-27 15:17 UTC] lolo at phpheaven dot net
Hi all!

I've justed the php 4.0.1 build from Daniel at the bug is still here.
In case you ask for a confirmation ;)

 [2001-12-15 07:53 UTC] lolo at phpheaven dot net
Just a version update.
 [2001-12-15 08:15 UTC] lolo at phpheaven dot net
Hi Sander!

Oups, of course: 4.1.0 and not 4.0.1....

 [2002-01-27 00:48 UTC]
Thanks for the report, should be fixed in CVS.  Developer who introduced these bugs no longer has development karma :)
 [2002-02-05 06:48 UTC] lolo at phpheaven dot net
Hi List!

Thanks Sterling for your fix. I'll give it a try as soon as a php build is available for winwin.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Aug 15 06:01:27 2020 UTC