On Thu, 2003-03-27 at 12:52, George Schlossnagle wrote:
> On Thursday, March 27, 2003, at 12:10  PM, Timm Friebe wrote:
> 
> > On Thu, 2003-03-27 at 18:04, George Schlossnagle wrote:
> >> On Thursday, March 27, 2003, at 11:58  AM, Andi Gutmans wrote:
> > [...]
> >> I think this can(all) be handled with a custom zend_error_cb anyway 
> >> (in
> >> an extension - so that it's available only if you want it.)  Looks
> >> really simple to implement too.
> >
> > Well, I can think fo the following disadvantages to that:
> > - Code is less portable (some other user or ISP might not have the
> >   fancy --with-cool-oop extension enabled)
> 
> Well, as Andi said, most people do not use oop with php.  Having the 
> same thing available as a php.ini toggle would be just as easy, but 
> doesn't sound like it would be popular.
> 
> >

Just a note on this.  People have avoided OO cause OO sucked.

Exceptions themselves are *incredibly* useful, especially when dealing
with database code (the majority of php applications), so I think you'll
see that portion of php used quite a bit.  I know personally I'll stay
very procedural, but almost all error handling will be done with try { }
catch { }.

-Sterling

-- 
"First they ignore you, then they laugh at you,  
 then they fight you, then you win."  
    - Gandhi


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to