Searching...
Wednesday, 12 September 2012

Data Types In PHP

9:06 pm

                      Data Types In PHP

Data Types In PHP : 

 

 The following are the data types in php :
1.       Four scalar types : A variable in which only one value can be stored at a time.
(a)    Boolean data type
(b)   Integer data type
(c)    Float / double data type
(d)   Strong data type
2.       Two compound types : A variable in which multiple values can store.
(a)    Array
(b)   Object
3.       Two special types :
(a)    Restore data type
(b)   Null data type.
The type of a variable is usually not set by the programmer ; rather , it is decided at run time by php depending on the context in which that variable is used.


Data Types In PHP



0 comments:

Post a Comment