If you feel like it, and know why an E_NOTICE error will happen and just want to supress it, you can always use @ like so:
if (@is_numeric($foo)) {
echo "$foo is numeric, so it must also be set.";
}
Don't blindly use @ though, and typically one will catch an error when using it, like so:
$result = @mysql_query($sql);
if (!$result) {
echo "Houston we have a problem, it is: " . mysql_error();
exit;
} else {
echo "The query ($sql) ran perfectly! So the Germans would have us believe.";
}
We supress the Warning and use our own "error handling". Anyway, I'm starting to get offtopic here 🙂