note 21878 deleted from function.is-numeric by nlopess
| From: | nlopess@php.net | Date: | Sun, 16 Jan 2005 12:41:49 +0000 |
| Subject: | note 21878 deleted from function.is-numeric by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83437@lists.php.net to get a copy of this message | ||
Note Submitter: soul0 at post-sul dot com
----
what does works:
foreach($vettore_is_number as $temp)
{
if(!is_numeric($temp))
{
$error = true;
}
}
and what does not work:
function numerico($temp)
{
if (!is_numeric($temp))
$error=true;
}
@array_walk
($vettore_is_number,'numerico');