Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value

From: Date: Tue, 28 Dec 1999 17:11:02 +0000
Subject: Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value
References: 1  Groups: php.dev php.version4 
Request: Send a blank email to php-dev+get-14091@lists.php.net to get a copy of this message
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

« previous php.dev (#14091) next »