Type conversion: Approach 2
<? $dog_count = (int) (string) (double) "101 Dalmatians"; echo ($dog_count); ?>