SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Aug 7, 2003, 04:54 #1
- Join Date
- Feb 2003
- Location
- eez
- Posts
- 331
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Aug 7, 2003, 04:58 #2
$a, $b and $c are the "argument names." $hehe, $huhu and $hihi are just variables you are passing to the function
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
Bookmarks