Re: array manipulations

From: Date: Mon, 25 Nov 2002 22:46:59 +0000
Subject: Re: array manipulations
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126012@lists.php.net to get a copy of this message
Mattia, > 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 implode() then check for nullstring/count characters. Regards, =dn

« previous php.general (#126012) next »