#32818 [NEW]: new mysqli() returns incorrect value

From: Date: Mon, 25 Apr 2005 03:03:38 +0000
Subject: #32818 [NEW]: new mysqli() returns incorrect value
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78138@lists.php.net to get a copy of this message
From: tianlin dot wang at sas dot com Operating system: REDHAT 9 PHP version: 5.0.4 PHP Bug Type: MySQLi related Bug description: new mysqli() returns incorrect value 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 bug report at http://bugs.php.net/?id=32818&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32818&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32818&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32818&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32818&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32818&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32818&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32818&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32818&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32818&r=support Expected behavior: http://bugs.php.net/fix.php?id=32818&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32818&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32818&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32818&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32818&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32818&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32818&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32818&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32818&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32818&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32818&r=mysqlcfg

« previous php.bugs (#78138) next »