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

Method isdigitat

text-to-qr/lib/phpqrcode/qrsplit.php:48–54  ·  view source on GitHub ↗

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

($str, $pos)

Source from the content-addressed store, hash-verified

46
47 //----------------------------------------------------------------------
48 public static function isdigitat($str, $pos)
49 {
50 if ($pos >= strlen($str))
51 return false;
52
53 return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
54 }
55
56 //----------------------------------------------------------------------
57 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