If array item is empty : <p>I've this array : </p>

<pre><code>Array ( [0] =&gt; test1 [1] =&gt; test2 [2] =&gt; test3 [3] =&gt; [4] =&gt; test4 )
</code></pre>

<p>I want to check if any array item is empty or not, as you can see, there's en empty item into my array : <code>[3] =&gt; [4] =&gt; test4</code></p>

<p>So I wrote this condition :</p>

<pre><code>           foreach ($array1 as $value) {

              if(!isset($value)) {
                echo "EMPTY";
              } else {
                echo "Not empty";
             }
          }
</code></pre>

<p>But it echo <code>Not empty</code> every time, there must have <code>empty</code> for one item</p>

<p>Thanks for your help !</p>
