PHP doc says "mysql_close() will not close persistent links".
Is it the same with mysqli (mysqli::close()) ?
PHP doc says "mysql_close() will not close persistent links".
Is it the same with mysqli (mysqli::close()) ?
Mysqli contains a built in auto cleanup which will close a handler.
You may want to have a read of http://php.net/manual/en/mysqli.persistconns.php
No. The
mysql_close()
function closes only non persistent links. You can't close persistent links.source:php.net