Doc #73760 [Com]: openssl_open has 6 parameters and only 5 are mentioned

From: Date: Sun, 25 Dec 2016 18:53:13 +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-14289@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: anthon dot pang 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: It looks like the new parameters have been added on edit.php.net. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#14289) next »