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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php