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 » HTTP » HTTP_Download » Bug #3313

cannot require HTTP_DOWNLOAD

Details

Submitted2005-01-27 16:09 UTC
Frombazzica at firenze dot net
Assignedmike
StatusClosed
PackageHTTP_Download
PHP Version4.3.10
OSFreeBSD 5.3
Roadmaps(Not assigned)

Comments

[2005-01-27 16:09 UTC] bazzica at firenze dot net

Description:
------------
I have this problem on FreeBSD 5.3 o.s. only, with Linux
and MacOSX work fine...

Reproduce code:
---------------
<?php
error_reporting(E_ALL);
ini_set('display_errors', true);

echo('Requiring library...<br>');

if(true == include 'HTTP/Download.php')
echo('DONE');
else
echo('ERROR');

echo('<br><br>end');
?>

Expected result:
----------------
Requiring library...
DONE

end

Actual result:
--------------
Requiring library...

Parse error: parse error, unexpected T_ELSE in /usr/
local/share/pear/HTTP/Download.php on line 796