#24350 [Opn->Asn]: overloading mysqli-query-objects
| From: | georg@php.net | Date: | Thu, 26 Jun 2003 21:30:54 +0000 |
| Subject: | #24350 [Opn->Asn]: overloading mysqli-query-objects | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42582@lists.php.net to get a copy of this message | ||
ID: 24350
Updated by: georg@php.net
Reported By: webmaster at s0nix dot de
-Status: Open
+Status: Assigned
Bug Type: Feature/Change Request
PHP Version: 5CVS-2003-06-26 (dev)
-Assigned To:
+Assigned To: georg
New Comment:
Assigned, but be aware, this will take some time.
1st) LinuxTag
2nd) MySQL License exceptions :)
3rd) fixing other bugs in ext/mysqli
4th) vacation
We will also have a db-maintainer meeting on LinuxTag, where we will
discuss about it (not only for mysqli...)
Regards
Georg
Previous Comments:
------------------------------------------------------------------------
[2003-06-26 15:20:44] webmaster at s0nix dot de
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:
----------------
root@localhost
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24350&edit=1