php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47319 mysql api
Submitted: 2009-02-05 20:03 UTC Modified: 2009-02-06 00:51 UTC
From: nullhility at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.8 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nullhility at gmail dot com
New email:
PHP Version: OS:

 

 [2009-02-05 20:03 UTC] nullhility at gmail dot com
Description:
------------
I'm sorry this isn't more of a *bug*; is there any chance PHP will support the new functionality mysql 5+ provides, however more in the style the older version provides? I understand that mysqli provides this, but I don't necessarily want to deal with objects and the reason being is that I usually write my own "wrapper" for a site (eg. so I can decide when and what type of Exception to throw) and writing a class definition to deal with an object just seems redundant. I usually end up reverting back to the older mysql api. 

I just find that mysqli isn't all that "improved" and provides less freedom than it's predecessor.

Thanks for your time.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-06 00:51 UTC] scottmac@php.net
mysqli provides both OO and non OO.

mysqli_connect() and new mysqli()

Read the manual and look at the samples.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 10:00:01 2025 UTC