MCPcopy Create free account
hub / github.com/codemistic/Web-Development / isdigitat

Method isdigitat

text-to-qr/lib/phpqrcode/phpqrcode.php:1985–1991  ·  view source on GitHub ↗

----------------------------------------------------------------------

($str, $pos)

Source from the content-addressed store, hash-verified

1983
1984 //----------------------------------------------------------------------
1985 public static function isdigitat($str, $pos)
1986 {
1987 if ($pos >= strlen($str))
1988 return false;
1989
1990 return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1991 }
1992
1993 //----------------------------------------------------------------------
1994 public static function isalnumat($str, $pos)

Callers 4

identifyModeMethod · 0.95
eatNumMethod · 0.95
eatAnMethod · 0.95
eat8Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected