Hi there!
I want to call a function passing it variable to it and this funtion should return an array having the name of the variable as key and the value of the variable as value of that key.
example:
$god = "dj";
$array = MyFunction($god)
the result should be:
$array[god] => "dj";
is there a funtion that does that? or is there at least a funtion that I can pass a variable to and it returns the name of the variable like that:
$name = NameOf($god)
result: $name has the value "god"
Thanks,
Matthias