mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
18 lines
297 B
PHP
18 lines
297 B
PHP
--TEST--
|
|
Bug #74541 Wrong reflection on session_start()
|
|
--EXTENSIONS--
|
|
session
|
|
--SKIPIF--
|
|
<?php
|
|
include('skipif.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$r = new ReflectionFunction('session_start');
|
|
var_dump($r->getNumberOfParameters());
|
|
var_dump($r->getNumberOfRequiredParameters());
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|
|
int(0)
|