PDA

View Full Version : Can I get a variable name as a string?


montyauto
02-20-2007, 02:42 PM
I've searching in php and perl for this:

how do i get a variable name as a string e.g i have a variable
myvar:1 2 5 3 2 6 7 8
i want to get "myvar"

Is there any function to get the name of a variable based on its value?