3
According to the DOC Type handling, the conversions allowed are:
(int), (integer) - molde para inteiro (bool), (boolean) - converte para booleano (float), (double), (real) - converte para número de ponto flutuante (string) - converte para string (array) - converte para array (object) - converte para objeto (unset) - converte para NULL (PHP 5)
I wanted to know if there is any way to create a custom typing. I searched in the documentation and SO-EN but found nothing related to this.
I already have a function for that purpose, but I wanted to create a type (upper) 'Papa Chalie' // PAPA CHARLIE
, would be possible?
I do not think possible, http://php.net/manual/en/function.settype.php . " Possibles values of type are: ..." . There you can see the possible types
– Miguel