[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value From: Andi Gutmans (andi <email protected>)
Date: 12/28/99

On Tue, 28 Dec 1999, Thies C. Arntzen wrote:

> you found a bug!
>
> <?
> function test()
> {
> var_dump(func_num_args());
> printf("%d <BR>\n",func_num_args());
> }
> test(1);
> ?>
>
> prints:
> int(1)
> 1487744 <BR>
>
> seems that the argument_stack is confused - zeev, andi?

Looks like a bug in printf unless you can reproduce this with another
function besides printf. I can't!

This is probably some kind of bug with printf.
Looks like a job for Stig :) He's the printf guy.

Andi

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>