Bug #13620 Updated: bzip2 extension seems to be broken

From: Date: Sat, 15 Dec 2001 12:53:09 +0000
Subject: Bug #13620 Updated: bzip2 extension seems to be broken
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73904@lists.php.net to get a copy of this message
ID: 13620
User updated by: lolo@phpheaven.net
Reported By: lolo@phpheaven.net
Status: Open
Bug Type: Bzip2 Related
Operating System: Win98 SE
Old PHP Version: 4.0CVS-2001-10-09
PHP Version: 4.0.1
New Comment:

Just a version update.
Loïc

Previous Comments:
------------------------------------------------------------------------

[2001-11-27 15:17:09] lolo@phpheaven.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 ;)

Loïc

------------------------------------------------------------------------

[2001-11-11 06:42:17] sander@php.net

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.

------------------------------------------------------------------------

[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)

« previous php.dev (#73904) next »