> > > 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