settype

 

Syntax


int settype(string var, string type);

Popis


Príkaz jazyka PHP
settype - Set the type of a variable.

Set the type of variable var to type.
Possibles values of type are:
  • "integer"
  • "double"
  • "string"
  • "array"
  • "object"


Returns true if successful; otherwise returns false.

Pozri aj


gettype



vytlačiť článok  hľadať súvisiace články 

Chat ku článku

Vyhľadávanie na stránke
Reklama
Náhodný obrázok
náhodný obrázok
Kontakty

Martin Kasman, M Software
Smreková 3095/23
Email: martin@kasman.sk

Telefón: 0908 270 294