Los operadores cast son para cambiar el tipo de variable.
<?php // (int), (integer) Transforma a tipo Entero // (float), (real), (double) Tranforma a tipo flotante // (string) Transfor a tipo String // (bool), (boolean) Transforma a tipo Boolean // (array) Transforma a tipo Array // (object) Transform a tipo Object $str = "100"; $numero = (int) $str; ?>