#49460 [Opn->Csd]: mysqli::sst_set doesn't exist in PHP 5.3.0
| From: | abedford@php.net | Date: | Fri, 04 Sep 2009 15:29:43 +0000 |
| Subject: | #49460 [Opn->Csd]: mysqli::sst_set doesn't exist in PHP 5.3.0 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-2727@lists.php.net to get a copy of this message | ||
ID: 49460
Updated by: abedford@php.net
Reported By: ifland at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: 5.3.0
New Comment:
Should now be fixed in the XML source. Thanks for spotting this.
Previous Comments:
------------------------------------------------------------------------
[2009-09-04 15:27:22] 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-03 18:40:14] 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-03 18:30:25] 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")
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49460&edit=1