Hello Christian, Thursday, April 15, 2004, 1:15:03 PM, you wrote:
> Andi Gutmans wrote: >> I don't think allowing the return of anything except for the object >> itself is *fixing* PHP. > No, being able to fail and return would not be fixing it. It would be > extending it to allow people to avoid exceptions for this simple case. The problem is that you would have to redefine basic understood oo concepts as implemented in php 5 at the moment. >> For example, in the SOAP extension it is very useful that in the >> SoapServer you can throw an exception and that'll create a SOAP error. >> Any other value you return will be the SOAP result. This is a perfect >> place for exceptions. > I tempted to challenge you to give me an example usage which I could > rewrite without exceptions, making it simpler and/or fixing problems ;-) > - Chris -- Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php