Davey,

There are no problems in "my setup".
You can reproduce the problem easily:

1. Download latest version of Zend Guard
2. Download latest version of Zend Framework
3. Try to encode.
- Parse errors.

On 12/12/06, Davey Shafik <[EMAIL PROTECTED]> wrote:
IonCube also has these features. It would be more than easy to write
a simple tool to run php -l on
all the files in the tree, furthermore, Are you using the PHP 5
version of Zend Guard? Perhaps you
should lay the problems at the feet of that which they lay, your
setup or your software, rather than the
framework code.

- Davey

On Dec 12, 2006, at 10:26 AM, Joe Kramer wrote:

> Hello,
>
> How is snapshot/release of Zend Framework is being built? Just export
> form SVN and that's it?
>
> The logical way to do the build of snapshot or release is to export
> and check/compile the source code.
> There is no "compile php", you can only do "php -f" to parse single
> file.
> Probably can be automated using some script to parse every file in
> whole project tree.
> Fortunately we have Zend Guard (formerly Zend Encoder), that can be
> set to run on whole project tree and check project for parse errors.
> You may say, Zend Guard is "javac" in PHP world.
>
> But build compile/automation seem absent from Zend Framework. ZF
> periodically contain bugs that are not compatible with Zend Guard
> encoding process.
> Take current snapshot and try to run it with Zend Guard. ZF has 10 or
> so parse errors.
> They may not be a real parse errors according to PHP spec. but those
> are parse errors in the eyes of Zend Guard. And Zend Guard is our only
> tool that exists to check for such inconsistencies. The only thing
> between us and total chaos :)
>
> Enterprise-level projects are mostly encoded with Zend Guard, we
> cannot be sure that if we drop-in latest release of Zend Framework, it
> will actually compile with our build process.
> Even if the release is declared as stable, it still may have parse
> errors with Zend Guard.
>
> My points are:
>
> - It's not possible to use Zend Framework in projects encoded with
> Zend Guard because ZF is not checked against Zend Guard when
> built/released.
>
> - It's called ZEND Framework. Why it doesn't work with ZEND Encoder?
>
> - Parse errors may not be parse errors according to php spec. But Zend
> Guard is the only thing we have.
>
> - What is the build process for Zend framework? Just svn extract and
> pack it? What if there are parse errors?
>
> Regards.
> Joe.
>


Reply via email to