intval()
function intval(mixed $value): int
Returns the integer value of a variable.
Parameters:
$value(mixed)
Returns: int
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how intval is implemented in the compiler, see the internals page.