Let's say I have a function that is passed a string:
function foo($var) {
echo 'Variable Passed: ' . ???
}
I want to print/access the ???
part, so when using the function, I could print the actual string name passed:
foo($myStringName);
Variable Passed: $myStringName
Does PHP have a way of doing the ??? part?