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