Edit report at https://bugs.php.net/bug.php?id=63727&edit=1
ID: 63727 Updated by: ahar...@php.net Reported by: oladoke at yahoo dot com Summary: No function to access last opened connection link -Status: Open +Status: Not a bug Type: Feature/Change Request -Package: Output Control +Package: MySQLi related Operating System: Snow Leopard PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The mysqli object is the "connection link" when using the mysqli API. By design â closing not a bug. Previous Comments: ------------------------------------------------------------------------ [2012-12-08 12:02:06] oladoke at yahoo dot com Description: ------------ --- >From manual page: http://www.php.net/function.mysqli-connect#refsect1- function.mysqli-connect-description --- mySQL class automatically retrieved current connection link There is not function to retrieve current connection link in mySQLi class. This would be very useful and would make the migration from mysql to mysqli much easier. mysqli_init() only returns an object with no thread id ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63727&edit=1