|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-08 09:44 UTC] matthias dot oestreicher at istec dot de
<?php
function test2()
{
echo func_get_arg (1)."\n";
echo func_get_arg (0)."\n";
echo func_get_arg (-1)."\n";
}
test ("hello");
?>
Output:
Warning: func_get_arg(): Argument 1 not passed to function in /home/moe/public_html/php/test2.php on line 4
/home/moe/public_html/php/test2.php(4) : Warning - func_get_arg(): Argument 1 not passed to function
hello
Segmentation fault
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 11:00:02 2026 UTC |
<?php function test() { echo func_get_arg (1)."\n"; echo func_get_arg (0)."\n"; echo func_get_arg (-1)."\n"; } test ("hello"); ?> Output: Warning: func_get_arg(): Argument 1 not passed to function in /home/moe/public_html/php/test2.php on line 4 /home/moe/public_html/php/test2.php(4) : Warning - func_get_arg(): Argument 1 not passed to function hello Segmentation fault