PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
BlueFlame
Forum Commoner
Posts: 33 Joined: Wed Oct 12, 2005 5:21 am
Post
by BlueFlame » Thu Jun 07, 2007 11:05 pm
Is it possible to get the augments of a method, not the values but the actual names of the variables used, and to do this outside of the class.
BlueFlame
Forum Commoner
Posts: 33 Joined: Wed Oct 12, 2005 5:21 am
Post
by BlueFlame » Mon Jun 11, 2007 5:07 am
Never heard of Reflective programming but it certainly looks sexy. Thanks.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Jun 11, 2007 2:42 pm
The names of the arguments is arbitrary, however you can examine that information for a user created function. Internal ones don't reflect much.
BlueFlame
Forum Commoner
Posts: 33 Joined: Wed Oct 12, 2005 5:21 am
Post
by BlueFlame » Tue Jun 12, 2007 3:21 am
What do you mean by "The names of the arguments is arbitrary".
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Tue Jun 12, 2007 5:02 am
The names do not matter.