manual for intval | search for "intval"
Manual © 2001-2010 The PHP Group
intval
Description
int intval ( mixed var [, int base])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.
Note: The base argument for intval() has no effect unless the var argument is a string.
See also floatval(), strval(), settype() and Type juggling.
© 2010 phparadise | go to the top | search phparadise | generated in 0.025 seconds
28 hits by 14 users in the last 30 minutes.