Home » HTTP » HTTP_Download » Bug #3313
cannot require HTTP_DOWNLOAD
Details
| Submitted | 2005-01-27 16:09 UTC |
|---|---|
| From | bazzica at firenze dot net |
| Assigned | mike |
| Status | Closed |
| Package | HTTP_Download |
| PHP Version | 4.3.10 |
| OS | FreeBSD 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