How to check if array like this
array(3) { [0]=> array(0) { } [1]=> array(0) { } [2]=> array(0) { } }
is actually empty ? Because for me this is an empty array but for the empty() this is an array with 3 elements and for count this is a array with length 3 .. so is there a way to do it without foreaching the array ?
Thank you in advance
foreach()
the array? – esqew Feb 7 at 3:20foreach()
when you can do it in 1 line? – Bankin Feb 7 at 3:24