We have given a given array that can be in 4 states.
The values in the array are: <
function isArray ($ subtraction, $ currentValue) / ul>
Different states can then be evaluated as follows:
-
arrays only
Count ($ array) == $ number_of_arrays
-
only non-arrays
$ number_of_arrays == 0
-
-
-
-
-
-
There is no key in the array below ($ array);
So you just have to type the function that gives the appropriate status.
Reference:,
Comments
Post a Comment