如何以递归方式检查数组中的空内容,如下例所示:
Array
(
[product_data] => Array
(
[0] => Array
(
[title] =>
[description] =>
[price] =>
)
)
[product_data] => Array
(
[1] => Array
(
[title] =>
[description] =>
[price] =>
)
)
)
Run Code Online (Sandbox Code Playgroud)
该数组不是空的,但没有内容.如何通过简单的功能检查?
谢谢!!