<?php $myint = 10; echo $myint . "<br />"; echo (int) $myint . "<br />"; $myint = 10 / 3; echo (int) $myint . "<br />"; ?>