PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » File Formats » File_Archive » Bug #4204

Parse error Concat.php under PHP4

Details

Submitted2005-04-22 16:25 UTC
Fromdmytton at php dot net
Assignedvincentlascaux
StatusClosed
PackageFile_Archive
PHP Version4.3.11
OSLinux
Roadmaps(Not assigned)

Comments

[2005-04-22 16:25 UTC] dmytton at php dot net

Description:
------------
On PHP 4, archive\File\Archive\Reader\Concat.php gives a parse error at line 62. This is only on PHP4. It works fine on PHP5.

[2005-04-22 19:52 UTC] dmytton at php dot net

Error:

Parse error: parse error, unexpected '(', expecting '}' in /home/expanse/public_html/iono11/includes/classes/archive/File/Archive/Reader/Concat.php on line 62

Reproduce Code:

<?php
require_once('includes/classes/archive/File/Archive/Reader/Concat.php');
?>

PHP Info: http://www.olate.net/php.php

[2005-04-22 22:16 UTC] dmytton at php dot net

Yes, this fixes the problem.