DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php check if input is int
$a
=
5
;
//returns true
$a
=
"5"
;
//returns false
$a
=
5.3
;
//returns false
is_int
(
$a
)
;
PREVIOUS
NEXT
Tagged:
#php
#check
#input
#int
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit