`intval` is not needed here, PHP converts it automaticly to an integer.