Re: Why does zend_call_function return SUCCESS if an exception is thrown

From: Date: Sat, 09 Apr 2011 16:52:32 +0000
Subject: Re: Why does zend_call_function return SUCCESS if an exception is thrown
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-51851@lists.php.net to get a copy of this message
> Because what "success" means in this context is that the function could be > executed. If you see the implementation of zend_call_function, you'll notice > the conditions that return FAILURE are those where the execution of the > target function doesn't even begin. > > You can check for exceptions via EG(exception). Perfect, thank you. -- Herman Radtke hermanradtke@gmail.com | http://hermanradtke.com

« previous php.internals (#51851) next »