Bug #70395 [NEW]: Missing ARG_INFO for openssl_seal()
| From: | cmb@php.net | Date: | Tue, 01 Sep 2015 00:39:44 +0000 |
| Subject: | Bug #70395 [NEW]: Missing ARG_INFO for openssl_seal() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-195662@lists.php.net to get a copy of this message | ||
From: cmb
Operating system: *
PHP version: Irrelevant
Package: OpenSSL related
Bug Type: Bug
Bug description:Missing ARG_INFO for openssl_seal()
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
--
Edit bug report at https://bugs.php.net/bug.php?id=70395&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70395&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70395&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70395&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70395&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70395&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70395&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70395&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70395&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70395&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70395&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70395&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70395&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70395&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70395&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70395&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70395&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70395&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70395&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70395&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70395&r=mysqlcfg