mirror of
https://github.com/php/php-src.git
synced 2025-01-12 05:54:13 +08:00
18 lines
351 B
PHP
18 lines
351 B
PHP
--TEST--
|
|
Bug #75307 Wrong reflection for openssl_open function
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded("openssl")) die("skip openssl not available");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$rf = new ReflectionFunction('openssl_open');
|
|
var_dump($rf->getNumberOfParameters());
|
|
var_dump($rf->getNumberOfRequiredParameters());
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
int(6)
|
|
int(4)
|
|
===DONE===
|