This question already has an answer here:
- PHP - Get key name of array value 9 answers
How to get the Cat by using the value Nap
in array
["Dog" => "Bite", "Cat" => "Nap"]
and i want to get Cat
using value Nap
</div>
This question already has an answer here:
How to get the Cat by using the value Nap
in array
["Dog" => "Bite", "Cat" => "Nap"]
and i want to get Cat
using value Nap
</div>
收起
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
$key = array_search('Nap', $array);
报告相同问题?