xref: /PHP-7.3/ext/openssl/tests/bug75307.phpt (revision 84488d92)
1--TEST--
2Bug #75307 Wrong reflection for openssl_open function
3--SKIPIF--
4<?php
5if (!extension_loaded("openssl")) die("skip openssl not available");
6?>
7--FILE--
8<?php
9$rf = new ReflectionFunction('openssl_open');
10var_dump($rf->getNumberOfParameters());
11var_dump($rf->getNumberOfRequiredParameters());
12?>
13===DONE===
14--EXPECT--
15int(6)
16int(4)
17===DONE===
18