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

From: Date: Tue, 28 Dec 1999 11:31:31 +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-14080@lists.php.net to get a copy of this message
TCA>> <? TCA>> function test() TCA>> { TCA>> var_dump(func_num_args()); TCA>> printf("%d <BR>\n",func_num_args()); TCA>> } TCA>> test(1); TCA>> ?> TCA>> seems that the argument_stack is confused - zeev, andi? Also seems that's more of printf problem (or parameter passing problem): <? function test() { $a = func_num_args(); printf("%d %d <BR>\n",func_num_args(),$a); } test(1); ?> says: 135440000 1 <BR> -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#14080) next »