-- Joe Kramer <[EMAIL PROTECTED]> wrote
(on Tuesday, 12 December 2006, 06:32 PM +0200):
> > I suggest you put your money where your mouth is and show some exampes
> > of the parse errors you say are being generated when you run Zend
> > Guard's syntax-checking abilities against the latest version of ZF.
> > That's the only way to be sure.
> 
> Here you go, Zend Guard 4.0.1 is the latest version, php 5 compatible:

Based on these, in each case, the issue is with perfectly valid PHP
using the 'array' type hint. As an example:

    protected function _setInvokeArgs(array $args = array())

It looks like Zend Guard is not currently compatible with valid PHP 5.1
syntax, or you're not using PHP >= 5.1.0. If you *are*, please file a
support ticket against Zend Guard so it can be corrected.

> /usr/local/Zend/ZendGuard-4.0.1/bin/zendenc5
> Zend Guard (PHP 5) v4.0.1 (c) Zend Technologies, 1999-2006
> 
> /Zend/Request/Interface.php: Interface.php(line 111): parse error,
> expecting `'&'' or `T_VARIABLE'
> Encoding of '/Zend/Request/Interface.php' failed.
> 
> /Controller/Action.php: Action.php(line 92): parse error, expecting
> `'&'' or `T_VARIABLE'
> /Zend/Controller/Action.php' failed.
> 
> Zend/Controller/Action.php: Action.php(line 161): parse error,
> expecting `'&'' or `T_VARIABLE'
> /Zend/Controller/Action.php' failed.
> 
> /Zend/Controller/Router/Interface.php: Interface.php(line 61): parse
> error, expecting `'&'' or `T_VARIABLE'
> /Zend/Controller/Router/Interface.php' failed.
> 
> Zend/Controller/Router.php: Router.php(line 61): parse error,
> expecting `'&'' or `T_VARIABLE'
> Encoding of '/Zend/Controller/Router.php' failed.
> 
> /Zend/Controller/Router.php: Router.php(line 86): parse error,
> expecting `'&'' or `T_VARIABLE'
> Encoding of '/Zend/Controller/Router.php' failed.
> 
> Zend/Controller/Request/Abstract.php: Abstract.php(line 188): parse
> error, expecting `'&'' or `T_VARIABLE'
> 
> Zend/Controller/Request/Http.php: Http.php(line 613): parse error,
> expecting `'&'' or `T_VARIABLE'
> 
> Zend/Controller/Dispatcher.php: Dispatcher.php(line 88): parse error,
> expecting `'&'' or `T_VARIABLE'
> 
> /Zend/Controller/Dispatcher/Interface.php: Interface.php(line 84):
> parse error, expecting `'&'' or `T_VARIABLE'
> 
> /Zend/Controller/RewriteRouter.php: RewriteRouter.php(line 63): parse
> error, expecting `'&'' or `T_VARIABLE'
> 

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to