xref: /PHP-7.2/ext/openssl/tests/bug70395.phpt (revision 43b26c7b)
1--TEST--
2Bug #70395 (Missing ARG_INFO for openssl_seal())
3--SKIPIF--
4<?php
5if (!extension_loaded("openssl")) die("skip openssl not loaded");
6?>
7--FILE--
8<?php
9$func = new ReflectionFunction('openssl_seal');
10$param = $func->getParameters()[4];
11var_dump($param);
12var_dump($param->isOptional());
13?>
14--EXPECTF--
15object(ReflectionParameter)#%d (1) {
16  ["name"]=>
17  string(6) "method"
18}
19bool(true)
20