★ wanayoo — archive 1999 http://fr.php.net/manual/function.intval.phpNouvelle recherche | Portail wanayoo
PHP
Thursday, May 31, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  


previousgettype
is_arraynext

Last updated: Mon, 08 Jan 2001

intval

(PHP 3, PHP 4 )

intval -- Get integer value of a variable

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.

See also doubleval(), strval(), settype() and Type juggling.

previousgettype
is_arraynext

Last updated: Mon, 08 Jan 2001
add note | about notes

show source | credits | mirror sites:  

Copyright © 2001 The PHP Group
All rights reserved.
This mirror generously provided by: L'Université Michel de Montaigne Bordeaux III
Last updated: Thu May 31 15:31:12 2001 MET DST