|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77012 PHP doesn't really offer mysql_ anymore
Submitted: 2018-10-15 12:42 UTC Modified: 2018-10-15 12:49 UTC
From: olafvdspek at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: Documentation problem
PHP Version: 7.3.0RC3 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
30 - 12 = ?
Subscribe to this entry?

 [2018-10-15 12:42 UTC] olafvdspek at gmail dot com
From manual page:

>  Below we show the APIs provided by the mysql, mysqli, and PDO extensions.

The mysql extension has been gone since 7.0 IIRC.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-10-15 12:47 UTC]
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2018-10-15 12:47 UTC]
Presently, the PHP manual is supposed to document PHP ≥ 5.0.0, and
in the following section “Recommended API” it is noted that mysql
is deprecated as of PHP 5.5.0 and removed in PHP 7.
 [2018-10-15 12:49 UTC] olafvdspek at gmail dot com
I know, it's just that "PHP offers three different APIs to connect to MySQL. " is only true for PHP 7, which is indeed explained later on.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun May 09 07:01:23 2021 UTC