|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-26 16:30 UTC] georg@php.net
[2010-12-20 13:59 UTC] jani@php.net
-Package: Feature/Change Request
+Package: MySQLi related
[2011-01-06 15:20 UTC] uw@php.net
-Assigned To: georg
+Assigned To: mysql
[2011-01-06 15:20 UTC] uw@php.net
[2011-01-07 15:37 UTC] andrey@php.net
-Status: Assigned
+Status: Wont fix
[2011-01-07 15:37 UTC] andrey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
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