Posted by _mario.lat on 05/02/07 20:17
Hallo,
I use a class vith a vaiables.
When a function throws an exception it seems to loose data:
....
$c=new myclass();
try{
$a->var1=1;
$a->function_throw_exception(); <--- this throws an exception
...
}
catche(exception $e)
{
$a->var1; <--- is empty ?!?!
}
The code is more complex but the idea is this.
it is possible?
what do you think?
Thankyou in advance,
Mario.
[Back to original message]
|