|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: olafvdspek at gmail dot com
New email:
PHP Version: OS:


 [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 08:01:23 2021 UTC