Display the drop-down list

ctype_digit()

« ctype_cntrl | ctype_graph »
<?php
$bool 
ctype_digit (
    
  // string $text
);
?>
Result
$bool = false
Examples
#1 ctype_digit  ("1820.20")
#2 ctype_digit  ("10002")
#3 ctype_digit  ("wsl!12")
#4 ctype_digit  ("42")
#5 ctype_digit  (42)
See also
ctype_alnum, ctype_xdigit, is_int, is_numeric, is_string