-
recover the agrument names passed to a function inside that function? possible?
Hey!
Is it possible to recover the agrument names of the arguments passed to a function inside that same function?
example :
blabla($hehe, $huhu, $hihi);
function blabla($a, $b, $c)
{
arg_name($a) = "hehe";
arg_name($b) = "huhu";
// ...
}
Is this possible (agr_name is an imaginary fn)
Thx
-
Mlle. Ledoyen
$a, $b and $c are the "argument names." $hehe, $huhu and $hihi are just variables you are passing to the function
Sean
Harry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks