note 13661 deleted from function.func-num-args by jimw
| From: | jimw@php.net | Date: | Thu, 20 Dec 2001 21:57:52 +0000 |
| Subject: | note 13661 deleted from function.func-num-args by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23458@lists.php.net to get a copy of this message | ||
At PHP 4.0.4, notice the result of func_get_arg! "func_get_arg(2)" is not correct.
--------------------------------------
function printme($x)
{
print($x);
print(func_get_arg(1));
}
printme("one ","two");
--------------------------------------
This prints "one two", not like ak@avatartech.com's note.