array manipulations
| From: | Mattia | Date: | Mon, 25 Nov 2002 20:10:42 +0000 |
| Subject: | array manipulations | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-125983@lists.php.net to get a copy of this message | ||
Can anyone suggest an ELEGANT way to find out if an array is made of empty
strings or not?
example
$a = Array( '' , '' , '' ); //ok
$b = Array( '' , '' , 'error' ); // not ok
$c = Array( 'error' , '' , 'error' ); // not ok
tia
Mattia