Proper return after throwing exception
| From: | Pieter de Zwart | Date: | Thu, 10 Jun 2010 19:41:29 +0000 |
| Subject: | Proper return after throwing exception | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-48732@lists.php.net to get a copy of this message | ||
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?
Thanks,
Pieter