#32818 [Opn->Bgs]: new mysqli() returns incorrect value
| From: | sniper@php.net | Date: | Mon, 25 Apr 2005 07:25:06 +0000 |
| Subject: | #32818 [Opn->Bgs]: new mysqli() returns incorrect value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78146@lists.php.net to get a copy of this message | ||
ID: 32818
Updated by: sniper@php.net
Reported By: tianlin dot wang at sas dot com
-Status: Open
+Status: Bogus
Bug Type: MySQLi related
Operating System: REDHAT 9
PHP Version: 5.0.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-04-25 05:03:37] tianlin dot wang at sas dot com
Description:
------------
$mysqli = new
mysqli('host','user','password','non-exist-db') or
exit('error');
does not exit the program. However, the following exits the program:
$mysqli =
mysqli_connect('host','user','password','non-exist-db') or
exit('error');
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32818&edit=1