<?php
$tests = array(
"sdas"=>13
);
foreach ($tests as $element) {
if (is_numeric($element)) {
echo "'{$element}' is numeric", PHP_EOL;
} else {
echo "'{$element}' is NOT numeric", PHP_EOL;
}
}
?>
//http://www.nowamagic.net/librarys/veda/detail/2023