PHP supports eight primitive data types as follow.
Scalar Types:
PHP support four scalar types.
1. Boolean : TRUE or FALSE. Any non zero values and non empty string are also counted as TRUE.
2. Integer : Round numbers (e.g. 52, -5248, 8459)
3. Float : Floating-point number or 'Double' (e.g. 0.845875, 510.05)
4. String : "Hello PHP", ' Free Online PHP & MySQL Tutorial', etc
Compound Types:
PHP support two compound types.
1. Array
2. Object
Special Types:
PHP support two special types.
1. Resource
2. NULL
We will discuss about each data types in future.
It is great for beginners.Thanks for sharing your blogs.
ReplyDeletewww.php-training-free.blogspot.com
Hi, There is aid there, encounter Internet, and it is active in Web Design Cochin and ready to provide the skills necessary to achieve a professional-looking website sufficient to meet your budget.Thanks.....
ReplyDelete