Re: __set __get __call in internal class
| From: | Marcus Boerger | Date: | Fri, 10 Sep 2004 21:35:51 +0000 |
| Subject: | Re: __set __get __call in internal class | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12723@lists.php.net to get a copy of this message | ||
Hello Frédéric,
Friday, September 10, 2004, 1:28:31 PM, you wrote:
> hi Marcus,
> Sorry for the post !
> well, with zend_try, i want to catch an exception (throwed in user space or
> internal).
> if I can't use it , how I can recover exception ?
that has nothing in common. the macros are try/catch blocks for c code.
the php (user space) exceptions are handled by the engine and are stored
in EG(exception), however you won't be able to handle them. The only
thing you can do is that if your c code calls another function ir even
user space function that throws a php exception than EG(exception) is
set afterwards and in most cases your code (the part after the call)
should still be executed.
regards
marcus