Hi Wade, interesting issue indeed. I saw this kind of parse error the last time when I tried to run a PHP 5 script unter PHP 4. Please, double check that you are indeed using a version of PHP 5 and not any ancient PHP 4 version.
Best regards, Tobias 2008/9/17 wadearnold <[EMAIL PROTECTED]> > > We are in the process of upgrading our web servers from 5.1.2 to 5.2.6 and > we > are getting odd string errors on all of the zend framework. Here is an > example if you just go to the Zend loader directly: > > Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or > T_FUNCTION or T_VAR or '}' in /home/wwwl/library/Zend/Loader.php on line 40 > > In trying to figure out what could have changed I have noticed that If I > change the constructor from > > public function __construct() > > to > > function _construct() > > it no longer produces the error for that file. I have no idea why this is > or > where to go next. Is there something new in PHP.ini or elsewhere that is > causing this issue? > > Thanks! > -- > View this message in context: > http://www.nabble.com/Server-upgrade-issue-w--public-__construct-tp19540238p19540238.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >