1--TEST-- 2Bug #74541 Wrong reflection on session_start() 3--SKIPIF-- 4<?php 5include('skipif.inc'); 6if (!extension_loaded('reflection')) die("skip"); 7?> 8--FILE-- 9<?php 10$r = new ReflectionFunction('session_start'); 11var_dump($r->getNumberOfParameters()); 12var_dump($r->getNumberOfRequiredParameters()); 13?> 14===DONE=== 15--EXPECT-- 16int(1) 17int(0) 18===DONE=== 19