php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #49460 mysqli::sst_set doesn't exist in PHP 5.3.0
Submitted: 2009-09-03 18:30 UTC Modified: 2009-09-04 15:29 UTC
From: ifland at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.3.0 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ifland at gmail dot com
New email:
PHP Version: OS:

 

 [2009-09-03 18:30 UTC] ifland at gmail dot com
Description:
------------
The ssl_set function on mysqli objects isn't part of PHP 5.3.0. This should be noted on documentation to avoid frustration.

Reproduce code:
---------------
---
From manual page: mysqli.ssl-set
---
"(PHP 5)"

Using the example code given in the comment on php.net/manual/en/mysqli.ssl-set.php, an error error occurs ("method not found") when trying to use the ssl_set function. See bug 49234 for details.

Expected result:
----------------
"(PHP 5.0 through 5.2.x; not available in PHP 5.3.0+)"

should be shown in the documentation.

Even if the function comes back, there should be at least a note about it not working in PHP 5.3.0.



Actual result:
--------------
Misleading "(PHP 5)" in documentation, which then causes confusion for anyone using PHP 5.3.0 ("method not found")

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-03 18:40 UTC] ifland at gmail dot com
It appears that it's the underlying mysqlnd (native driver) that's made the difference here - in 5.3.0, it's the default configuration on Windows, though not necessarily on Unix. See php.net/manual/en/mysqli.mysqlnd.php for more details. Perhaps the notice should also mention that only PHP 5.3.0 with the mysqlnd backend (including Windows binaries) have lost the ssl_set method.
 [2009-09-04 15:27 UTC] svn@php.net
Automatic comment from SVN on behalf of abedford
Revision: http://svn.php.net/viewvc/?view=revision&revision=288055
Log: Fixes doc bug #49460
 [2009-09-04 15:29 UTC] abedford@php.net
Should now be fixed in the XML source. Thanks for spotting this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 11:01:32 2024 UTC