KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
is_numeric, intval, ctype__digit.. can you rely on them? or do i have to use regex? function isNum($str) { return (preg_match("/^[0-9]+$/", $str)); } what do you guys think? am i stupid?
Tags (comma-separated)
Save Edits
Cancel