From: webmaster at s0nix dot de Operating system: PHP version: 5CVS-2003-06-26 (dev) PHP Bug Type: Feature/Change Request Bug description: overloading mysqli-query-objects
Description: ------------ The new mysqli-extension should use the object-overloading features of PHP5 for a easier and cleaner access. Reproduce code: --------------- <?php include "connect.inc"; /*** test mysqli_connect 127.0.0.1 ***/ $mysql = mysqli_connect("localhost", $user, $passwd); $mysql->select_db("test"); $result = $mysql->query("SELECT CURRENT_USER() AS user"); while ($result->next()) { echo $result->user; } $result->close(); $mysql->close(); ?> Expected result: ---------------- [EMAIL PROTECTED] -- Edit bug report at http://bugs.php.net/?id=24350&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24350&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24350&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24350&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24350&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24350&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24350&r=support Expected behavior: http://bugs.php.net/fix.php?id=24350&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24350&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24350&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24350&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24350&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24350&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24350&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24350&r=gnused