note 118489 added to mysqli.construct
| From: | till at etill dot net | Date: | Mon, 14 Dec 2015 22:02:47 +0000 |
| Subject: | note 118489 added to mysqli.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204354@lists.php.net to get a copy of this message | ||
Note that if the user name is an empty string, like so:
<?php
mysqli( 'localhost', '', 'password', 'database');
?>
then the object returned will have connect_errno=0 (as of PHP 5.5.9). And, as noted elsewhere here,
the same applies to the host name.
----
Server IP: 93.124.244.58
Probable Submitter: 84.213.26.148
----
Manual Page -- http://php.net/manual/en/mysqli.construct.php
Edit -- https://master.php.net/note/edit/118489
Del: integrated -- https://master.php.net/note/delete/118489/integrated
Del: useless -- https://master.php.net/note/delete/118489/useless
Del: bad code -- https://master.php.net/note/delete/118489/bad+code
Del: spam -- https://master.php.net/note/delete/118489/spam
Del: non-english -- https://master.php.net/note/delete/118489/non-english
Del: in docs -- https://master.php.net/note/delete/118489/in+docs
Del: other reasons-- https://master.php.net/note/delete/118489
Reject -- https://master.php.net/note/reject/118489
Search -- https://master.php.net/manage/user-notes.php