note 79707 deleted from function.mysqli-close by danbrown
| From: | danbrown@php.net | Date: | Fri, 28 Nov 2008 22:28:14 +0000 |
| Subject: | note 79707 deleted from function.mysqli-close by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147346@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
I saw examples when objects extending mysqli object calls parent::close in it's destructor. I
beleive this is not needed. Connection is closed anyway when object is destroyed.
I think this function is meant to be called when you want to establish different connection within
the same object or when the script goes idle for some time.