Hello Stefan and Derrell,
I also have to stick with PHP4 because of the server environment (An upgrade
would kill a couple of running applications). I have long intended to
rewrite Derrell's Server script in OO-Style some time, using a Server class,
which custom server can then extend. I think I will do it in a way that the
base class is PHP4 compatible and there will be a PHP5 subclass, using all
the niceties of the the new version. Let me know if you are interested, then
I might actually do this in the next couple of weeks.
Cheers,
Christian
Stefan Volbers wrote:
>
>
> Derrell Lipman wrote:
>> Two points:
>>
>> 1. You should be able to use the traditional error handling with PHP4,
>> with my recent check-ins. If you still need a custom index.php, please
>> let me know what it is that doesn't work.
>
> Yes, I see, and I appreciate it - would break any older rpc class else...
>
>> 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.
>
> Regards,
> Stefan
>
> ------------------------------------------------------------------------------
> 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
>
>
--
View this message in context:
http://www.nabble.com/PHP-RPC-backend-error-handling-breaking-in-PHP4...-no-more-tp21469029p21565827.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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