I have an array that may have some null or blank values in it. Is there a PHP function that I can use to traverse this array to simply find out if there is a value anywhere?
For example:
[0]=>
[1]=>
[2]=> test
I'd like to test against the total number of values present, if any. count() won't work because this is only a portion of this array and it always returns 1 which is not accurate.
Array
(
    [inputbox] => Array
        (
            [name] => Array
                (
                    [0] => New Text Document.txt  <------- This is what I need to test
                    [1] => 
                )
            [type] => Array
                (
                    [0] => text/plain
                )
            [tmp_name] => Array
                (
                    [0] => /var/tmp/phpLg2rFl
                    [1] => 
                )
            [error] => Array
                (
                    [0] => 0
                    [1] => 
                )
            [size] => Array
                (
                    [0] => 0
                    [1] => 
                )
        )
)
 
     
    