Data Types

Using gettype function

  NULL
integer
string
double
boolean
array

Using settype function

double is 3.14
string is 3.14
integer is 3
double is 3
boolean is 1
 

Creating copy of variable a changing data type of copy ("casting")

double is 3.14
integer is 3


original variable type: double