note 77096 deleted from function.preg-grep by felipe
| From: | felipe@php.net | Date: | Mon, 10 Dec 2007 02:25:59 +0000 |
| Subject: | note 77096 deleted from function.preg-grep by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133110@lists.php.net to get a copy of this message | ||
Note Submitter: moe at moose dot at
----
<?php
/* count non-empty strings in array */
function count_filled($a=array()){
return count($c=preg_grep("%[\S]%",$a));
}
?>