Possible Duplicate:
Is there any particular difference between intval and (int)?
These two statements are, afaik, identical:
$i = (int)getSomeValue();
and
$i = intval(getSomeValue());
Is there are good reason to choose one over the other (e.g. performance, treatment of nulls or objects, etc.)?