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
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: 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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 05:00:01 2026 UTC