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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to