Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 199912

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 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>