Re: Re: Re: [fw-general] Build Zend Framework, parse errors.

2006-12-12 Thread Joe Kramer

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:

/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'


Re: Re: [fw-general] Build Zend Framework, parse errors.

2006-12-12 Thread Matthew Ratzloff
Joe,

 My point is incompatibility between Zend products.

 If you build serious, enterprise-level project, you probably will use
 Zend Guard. I am not being elitist, but it seems like Zend framework
 is not used for projects that are encoded with Zend Guard? Because
 nobody raised the issue before.

There are more than a few serious, enterprise-level PHP projects that
don't use Zend Guard.  ;-)  Also, Zend Framework may be coordinated by
Zend but it is a community-driven project, and many contributors simply
don't have access to Zend Guard.

As Matthew outlined, there are other methods of testing validity.  Among
them, php -l and the testing suite designed for PhpUnit 3.

Please send the errors you encountered in Zend Guard to the list so we can
attempt to identify whether they are truly bugs in Zend Framework or in
Zend Guard itself.

Thanks,

-Matt