Bug #13620 Updated: bzip2 extension seems to be broken
ID: 13620
Updated by: sander
Reported By: lolo@phpheaven.net
Old Status: Feedback
Status: Open
Bug Type: Bzip2 Related
Operating System: Win98 SE
PHP Version: 4.0CVS-2001-10-09
New Comment:
4.0.6 works fine for me on Windows.
4.0.8 (the build from php4win) prints out:
-8
-5
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
Reopening.
Previous Comments:
------------------------------------------------------------------------
[2001-10-21 02:12:58] sniper@php.net
I can not reproduce this with PHP 4.1.0RC1 on Linux.
Could this be windows specific problem?
--Jani
------------------------------------------------------------------------
[2001-10-09 19:22:14] lolo@phpheaven.net
Hi All!
Here is a little script to reproduce the bug:
<?php
$var = bzcompress('abcdef123');
echo $var . '<br />' . "\n";
echo bzdecompress($var);
?>
It returns:
-8
-5
My config:
- Apache 1.3.20 on Win98-SE;
- php-4.0.7-rc3 or php-4.0.8-dev (latest build from php4win.de) 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,
Loïc
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13620&edit=1
Thread (8 messages)