[PHP] Re: Retrieving variable name?

2005-09-21 Thread l0t3k
Jeffrey Sambells [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] is it possible to retrieve the name of a variable passed into a function from within the function? Short Answer : No Longer Answer : Maybe, if you have knowledge of PHP internals and a willingness to write an

Re: [PHP] Re: Retrieving variable name?

2005-09-21 Thread Thorsten Suckow-Homberg
Short Answer : No Longer Answer : Maybe, if you have knowledge of PHP internals and a willingness to write an extension. Even then it may not work.. g Well, PHP5's magic methods __get()/ __set() could be used to resolve the variable's name... -- PHP General Mailing List

[PHP] Re: Retrieving variable name?

2005-09-21 Thread Jake Gardner
Maybe something fancy with references? http://us2.php.net/manual/en/language.references.php On 9/21/05, Thorsten Suckow-Homberg [EMAIL PROTECTED] wrote: Short Answer : No Longer Answer : Maybe, if you have knowledge of PHP internals and a willingness to write an extension. Even then it may

Re: [PHP] Re: Retrieving variable name?

2005-09-21 Thread Jeffrey Sambells
oh well, thanks for the help. Jeffrey Sambells Director of Research and Development We-Create Inc. 519.897.2552 cell 519.745.7374 office 888.615.7374 toll free http://www.wecreate.com On 21-Sep-05, at 6:02 PM, Jake Gardner wrote: Maybe something fancy with references?