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