PHP - Empy an array if there is only one ch aracter type is left
<p>I need to check if there are only comas and spaces left in array and if that is the case to empty or destroy array. How can I do this?</p>

<p>For example I have an array like this:</p>

<pre><code>$array = (, , , ,)
</code></pre>
