开发者

Variable Name as string

I need the variable name as string so that I can use it.

For example:

$name = "Some Name";
echo "The name of the variable that holds the name is ".findname($name);

function findname($variable) {

 //how to find the name of the variable

 return ?;
}
开发者_开发问答
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜