我有一个名为:$mapped
下面是结果var_dump($mapped);
array(32) {
["Age: "]=> string(137) "21 Years. "
["Ethnicity: "]=> string(122) "Caucasian "
["Location: "]=> string(152) "Paris, France "
}
问题是我没有得到任何结果:echo $mapped["Age: "];
我努力了:
echo $mapped["Age: "]; // No results
echo $mapped["Age:"]; // No results
echo $mapped[" Age: "]; // No results
echo $mapped['Age: ']; // No results
echo $mapped['Age:']; // No results
var_dump($mapped["Age: "]); // result: NULL
我究竟做错了什么?我想要echo $mapped["Age: "];
结果: 21 Years
谢谢您的帮助