Date: 12/28/99
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] $string != $array should throw a warning!"
- Previous message: Thies C. Arntzen: "Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- In reply to: Thies C. Arntzen: "Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- Next in thread: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected> +972-3-6139665-- 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>
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] $string != $array should throw a warning!"
- Previous message: Thies C. Arntzen: "Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- In reply to: Thies C. Arntzen: "Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- Next in thread: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0 Bug #3054: func_num_args() returns incorrect value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

