On Fri, 30 Jul 2004, Jeff Moore wrote:

>
> On Jul 30, 2004, at 4:33 PM, Edin Kadribasic wrote:
>
> > Jeff Moore wrote:
> >
> >> Where did the if statements go?  do_stuff(), do_more_stuff(),  and
> >> do_even_more_stuff() should throw exceptions rather than return
> >> boolean error indicators.
> >
> > Now imagine do_stuff() and friends were native PHP functions ;)
>
> You might also have installed a standard error handler to raise some
> kinds of php errors as exceptions.

Exceptions are an OO thing, and it makes NO sense to use them in
procedural code. Goto is a good thing here.

Derick

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

Reply via email to