On Tue, Jan 20, 2009 at 10:04 AM, Stefan Volbers <[email protected]> wrote:

>
> Derrell Lipman wrote:
>
> > 2. I'm sufficiently beyond PHP4 that I don't recall what it offered or
> > didn't regarding exceptions. Is there any provision for exceptions in
> > PHP4? Didn't it support try/catch??? I sure thought it did...
>
> No try/catch indeed. Double checked at the php.org site. Which means
> that parsing index.php fails:
>
> C:\>phpcli -l index_from_svn17961.php
>
> Parse error: syntax error, unexpected '{' in index_from_svn17961.php on
> line 850
> Errors parsing index_from_svn17961.php
>
> So, no chance to have it working in PHP4.


Sigh. Ok, well PHP4 is sufficiently old and the new feature sufficiently
useful that I'm seriously tempted to just add a comment that this index.php
file requires PHP5. Maybe I should add to the comment what changes need be
made to make it work with PHP4. (Or maybe I shouldn't, forcing those
miscreants still using PHP4 to upgrade to PHP5). <evil grin>

Derrell
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to