xref: /PHP-8.0/ext/session/tests/bug74541.phpt (revision a555cc0b)
1--TEST--
2Bug #74541 Wrong reflection on session_start()
3--SKIPIF--
4<?php
5include('skipif.inc');
6?>
7--FILE--
8<?php
9$r = new ReflectionFunction('session_start');
10var_dump($r->getNumberOfParameters());
11var_dump($r->getNumberOfRequiredParameters());
12?>
13--EXPECT--
14int(1)
15int(0)
16