On 10.06.2010, at 23:41, Pieter de Zwart wrote:

> Hey guys,
> 
> Another n00b question: What is the proper way to return from a function
> after throwing an exception? My code looks like:
> 
> zend_throw_exception(amqp_connection_exception_class_entry, "blah blah
> blah", 0 TSRMLS_CC);
> return; 
> 
> Should I instead RETURN_FALSE from there?

It doesn't really matter, as return value will never be checked.
"return" should be enough


-- 
Alexey Zakhlestin
http://www.milkfarmsoft.com/




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to