PHP 4.0 Bug #3054: func_num_args() returns incorrect value
| From: | Jamie_Whitham at palmtopsoftware dot com | Date: | Tue, 28 Dec 1999 10:17:25 +0000 |
| Subject: | PHP 4.0 Bug #3054: func_num_args() returns incorrect value | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14075@lists.php.net to get a copy of this message | ||
From: Jamie_Whitham@palmtopsoftware.com
Operating system: Win32
PHP version: 4.0 Beta 3
PHP Bug Type: Misbehaving function
Bug description: func_num_args() returns incorrect value
func_num_args() seems to be returning 14318520 when I am only passing 11 arguments to my function.
Is this a bug? Or am I doing something wrong?
<?
function test()
{
printf ("%d <BR>\n",func_num_args());
}
test("fds","sdf",3,3,5);
?>
I downloaded the binaries from your site so I have not complied it myself.
My php.ini file is as your default (+php directory)
Also how do I remove a note that I have added to the online manual? I added this to func_num_args()
before reading the text about not putting bugs there, sorry :-(
Thanks
Jamie