Yes, typecasting is supported by PHP and can be done very easily. Following are the types that can be cast in PHP:
(int), (integer): Cast to integer
(bool), (boolean): Cast to boolean
(float), (double), (real): Cast to float
(string): Cast to string
(array): Cast to array
(object): Cast to object