PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » File_Archive » Bug #4916

Fatal error when using extract()

Details

Submitted2005-07-26 08:31 UTC
Fromarthur at movenext dot nl
Assignedvincentlascaux
StatusClosed
PackageFile_Archive
PHP Version4.3.11
OSLinux
Roadmaps(Not assigned)

Comments

[2005-07-26 08:31 UTC] arthur at movenext dot nl

Description:
------------
I get a fatal error when extracting an archive with File_Archive 1.5.0. When I'm using the same script in version 1.4.1 everything works fine.

Fatal error: Undefined class name 'file_archive_reader' in /usr/share/php/File/Archive.php on line 298

Test script:
---------------
$file = "file.bz2";
$src = "$file/";
echo "Extracting $file\n";
$result = File_Archive::extract($src, File_Archive::toFiles());

Expected result:
----------------
File is extracted