我想从同一个数组中访问关联数组的键和值。如果我的阵列中有3对。我可以使用something
和other
的值在第三个another
之内吗?使用来自同一个数组内的关联数组值
$gar = array("something" => "something value",
"other" => "other value",
"another" => something . other
);
这个想法是,他人的价值将是“值得其他价值的东西”。
这可能吗?有没有办法完成同样的事情?
我这样做,只是因为它看起来有点干净,尽管两者都很完美。 – drummer 2009-10-31 10:30:52