Function

intval

Synopsis

intval(mixed, mixed ...): int

Area
Runtime\PS\Core\Lang\intvalareas

Description

intval returns the integer value of $value. $base applies only to a string $value, read like C strtol with the 0x and 0b prefixes; a $base outside 0 and 2-36 returns 0.

Usage

$value = intval($arguments);
$fn = intval(...);

See also