Re: How can I detect an exception without using try/catch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>
> What would be nice is a function like get_current_exception() that
> would either return the current exception object, or return false
> if there is no exception.
>
> I guess the try catch pair works like this:

you  try to  run a part of script which you know it could be under errors

You tell your boy to play(but a bulley comes often):
try {
Go boy try to play
}

catch (street_bulley_came) {
do not cry or dont swear at the bulley dont be afraid
}

Lenin

www.twitter.com/nine_L

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux