Re: try/catch/FINALLY
| From: | Jeff Moore | Date: | Wed, 06 Aug 2003 17:27:18 +0000 |
| Subject: | Re: try/catch/FINALLY | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3788@lists.php.net to get a copy of this message | ||
On Wednesday, August 6, 2003, at 03:14 AM, Marcus Börger wrote:
There's absolute no need for finally:PHP doesn't necessarily control every resources you might want to deallocate. mysql_query('LOCK ...'); try { ... do stuff } finally { mysql_query('UNLOCK...'); } .. do more stuff