php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70395 Missing ARG_INFO for openssl_seal()
Submitted: 2015-09-01 00:39 UTC Modified: 2015-09-01 05:42 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
 [2015-09-01 00:39 UTC] cmb@php.net
Description:
------------
The parameter info of openssl_seal() obtained via reflection
doesn't contain the optional $method parameter which was added as
of PHP 5.3.0. See <https://3v4l.org/FaprH>.


Test script:
---------------
<?php
$func = new ReflectionFunction('openssl_seal');
$param = $func->getParameters()[4];
var_dump($param);
?>


Expected result:
----------------
object(ReflectionParameter)#6 (1) {
  ["name"]=>
  string(6) "method"
}


Actual result:
--------------
NULL


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-01 00:40 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2015-09-05 01:23 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=43b26c7b21edbc64e197f2b6ae7f0c38a166c9c9
Log: Fix #70395: Missing ARG_INFO for openssl_seal()
 [2015-09-05 01:23 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2015-09-15 12:13 UTC] ab@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=43b26c7b21edbc64e197f2b6ae7f0c38a166c9c9
Log: Fix #70395: Missing ARG_INFO for openssl_seal()
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 06:01:30 2024 UTC