如何递归地检查数组是否为空,就像这个例子:
Array
(
[product_data] => Array
(
[0] => Array
(
[title] =>
[description] =>
[price] =>
)
)
[product_data] => Array
(
[1] => Array
(
[title] =>
[description] =>
[price] =>
)
)
)
数组不为空,但没有内容。如何使用简单的函数检查?
谢谢!
product_data
? - codaddict