Name
intval
Synopsis
int intval(mixedvalue
[, intbase
])
Returns the integer value for value
using the optional base base
(if
unspecified, base-10 is used). If value
is
a nonscalar value (object or array), the function returns 0
.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.