Bug #3313 [NEW]: cannot require HTTP_DOWNLOAD

From: Date: Thu, 27 Jan 2005 16:09:02 +0000
Subject: Bug #3313 [NEW]: cannot require HTTP_DOWNLOAD
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-3817@lists.php.net to get a copy of this message
From: bazzica at firenze dot net Operating system: FreeBSD 5.3 PHP version: 4.3.10 Package: Web Site Bug Type: Bug Bug description: cannot require HTTP_DOWNLOAD 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 -- Edit bug report at http://pear.php.net/bugs/bug.php?id=3313&edit=1 --

« previous php.pear.webmaster (#3817) next »