Re: check if any element of an array is not "empty"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



but I was thinking if there is the function does that.

array_filter(). Note this:

"If no callback is supplied, all entries of input equal to FALSE (see converting to boolean) will be removed."

http://uk3.php.net/manual/en/function.array-filter.php

--
Richard Heyes

+----------------------------------------+
| Access SSH with a Windows mapped drive |
|    http://www.phpguru.org/sftpdrive    |
+----------------------------------------+

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux