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

2006-12-17 Thread Lars Strojny
Hi, Am Dienstag, den 12.12.2006, 18:38 +0200 schrieb Joe Kramer: [...] > It's not only about obfuscating. > Zend Guard optimizes performance of scripts. Compiles php files into > bytecode. And it caches them. > Makes perfect sense for high-volume projects. I do not want to be beaten by the Zend-g

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

2006-12-12 Thread Julien Duponchelle
On 12/12/06, Nico Edtinger <[EMAIL PROTECTED]> wrote: [12.12.2006 16:26] Joe Kramer wrote: > There is no "compile php", you can only do "php -f" to parse single > file. There is a syntax checker (lint) built into php with "php -l". -f does also execute the file. > Probably can be automated usin

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

2006-12-12 Thread Stanislav Malyshev
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 *a

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

2006-12-12 Thread Matthew Weier O'Phinney
-- 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 o

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

2006-12-12 Thread Bill Karwin
Matthew Weier O'Phinney wrote: -- Joe Kramer <[EMAIL PROTECTED]> wrote (on Tuesday, 12 December 2006, 05:26 PM +0200): How is snapshot/release of Zend Framework is being built? Just export form SVN and that's it? Snapshots and releases are two different things. The snapshots are done n

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

2006-12-12 Thread Matthew Ratzloff
As many suspected, this is a bug in Zend Guard. Specifying the 'array' type hint in function declarations has been valid since PHP 5.1. To resolve this, you can submit a support request to http://www.zend.com/support/ and discontinue use of Zend Guard with Zend Framework until the issue has been

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

2006-12-12 Thread Joe Kramer
On 12/12/06, Eric Coleman <[EMAIL PROTECTED]> wrote: Why are you encoding Zend Framework at all? It's an open source project, not like you need to conceal any intellectual property... It's not only about obfuscating. Zend Guard optimizes performance of scripts. Compiles php files into bytecod

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

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

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

2006-12-12 Thread Eric Coleman
Why are you encoding Zend Framework at all? It's an open source project, not like you need to conceal any intellectual property... Regards, Eric On Dec 12, 2006, at 11:02 AM, Joe Kramer wrote: Nico, My point is incompatibility between Zend products. If you build serious, enterprise-level

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

2006-12-12 Thread Chris Hartjes
On 12/12/06, Joe Kramer <[EMAIL PROTECTED]> wrote: Nico, 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 Z

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

2006-12-12 Thread Davey Shafik
Joe, Technically, the Zend Framework is not a "Zend Product". Can you please paste said errors because you have them to hand and I can't install Zend Guard. - Davey On Dec 12, 2006, at 11:02 AM, Joe Kramer wrote: Nico, My point is incompatibility between Zend products. If you build serio

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

2006-12-12 Thread Matthew Weier O'Phinney
-- Joe Kramer <[EMAIL PROTECTED]> wrote (on Tuesday, 12 December 2006, 05:26 PM +0200): > How is snapshot/release of Zend Framework is being built? Just export > form SVN and that's it? Snapshots and releases are two different things. The snapshots are done nightly from whatever revision is curren

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

2006-12-12 Thread Joe Kramer
Nico, 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.

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

2006-12-12 Thread Joe Kramer
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 wou

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

2006-12-12 Thread Nico Edtinger
[12.12.2006 16:26] Joe Kramer wrote: There is no "compile php", you can only do "php -f" to parse single file. There is a syntax checker (lint) built into php with "php -l". -f does also execute the file. Probably can be automated using some script to parse every file in whole project tre

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

2006-12-12 Thread Davey Shafik
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, rathe