相关疑难解决方法(0)

如何检查是否存在多个数组键

我有各种各样的数组,将包含

story & message
Run Code Online (Sandbox Code Playgroud)

or just

story
Run Code Online (Sandbox Code Playgroud)

How would I check to see if an array contains both story and message? array_key_exists() only looks for that single key in the array.

Is there a way to do this?

php key

75
推荐指数
6
解决办法
9万
查看次数

标签 统计

key ×1

php ×1