Doc #73760 [Com]: openssl_open has 6 parameters and only 5 are mentioned
| From: | fabien dot villepinte at gmail dot com | Date: | Sat, 28 Oct 2017 20:31:40 +0000 |
| Subject: | Doc #73760 [Com]: openssl_open has 6 parameters and only 5 are mentioned | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15195@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73760&edit=1
ID: 73760
Comment by: fabien dot villepinte at gmail dot com
Reported by: g dot sokol99 at g-sokol dot info
Summary: openssl_open has 6 parameters and only 5 are
mentioned
Status: Analyzed
Type: Documentation Problem
Package: OpenSSL related
Operating System: Any
PHP Version: 7.1.0
Block user comment: N
Private report: N
New Comment:
The documentation has been fixed with https://bugs.php.net/bug.php?id=75447
Previous Comments:
------------------------------------------------------------------------
[2016-12-25 18:53:12] anthon dot pang at gmail dot com
It looks like the new parameters have been added on edit.php.net.
------------------------------------------------------------------------
[2016-12-16 16:21:03] cmb@php.net
Indeed, the $iv parameter has been introduced with commit
e235cb65[1] to implement feature request #70438. It is available
as of PHP 7.0.0.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=e235cb65>
------------------------------------------------------------------------
[2016-12-16 15:34:35] g dot sokol99 at g-sokol dot info
Description:
------------
According to https://github.com/php/php-src/blob/php-7.1.0/ext/openssl/openssl.c#L5914
function openssl_open have 6 parameters, but only 5 are mentioned in the documentation. Nothing is
told about the last optional parameter IV.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73760&edit=1