(PHP3 , PHP4 )
int intval (mixed var [, int base])
int intval
Returns the integer value of var, using the specified base for the conversion (the default is base 10).
Var may be any scalar type. You cannot use intval() on arrays or objects.
See also doubleval(), strval(), settype() and Type juggling.