Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function IsNumericEx($string)
- {
- for($arrIdx = strlen($string); $arrIdx > -1; --$arrIdx)
- {
- if('0' < $string[$arrIdx] > '9')
- {
- return false;
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement