#49460 [Opn]: mysqli::sst_set doesn't exist in PHP 5.3.0
| From: | ifland at gmail dot com | Date: | Thu, 03 Sep 2009 18:40:15 +0000 |
| Subject: | #49460 [Opn]: 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-2720@lists.php.net to get a copy of this message | ||
ID: 49460
User updated by: ifland at gmail dot com
Reported By: ifland at gmail dot com
Status: Open
Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: 5.3.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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