note 57739 deleted from function.mysql-close by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Jun 2009 13:56:10 +0000 |
| Subject: | note 57739 deleted from function.mysql-close by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156983@lists.php.net to get a copy of this message | ||
Note Submitter: 4dacres at gmail dot com
----
Read http://bugs.php.net/bug.php?id=30525, and
wow... It might be 'just how it works', but this reads like a broken implementation.
cameron2 has it right, with this implementation cleaning up connections with mysql_close() can never
be done, esp. if the connection is passed to a routine that you have no visibilty into. You just
never know if setting the variable to null or calling mysql_close() is going to error the script.