![]() |
|
|||||||
| Register | FAQ | Members List | Downloads | Calendar | Today's Posts | Search | Webmaster Resources | Webmaster Blogs |
![]() UK Web Hosting |
![]() Website Hosting |
![]() UK One Way |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
PHP supports eight data types :
Four scalar types :
two compund types :
and finally two special types :
You can find out a variable or expressions value and type bu using var_dump function, gettype function can also be used for finding out the type of a variable. If you want to converta variable to a specific data type you can use settype function. Alternatively you can aslo cast it to a different type. You can use following casts to convert a variable to your desired data type in php :
|
|
|||||
Numeric data type is used for number. There are two different numeric data types:
Integer data types contain whole number values. 2) Doubles Double contains floating point numbers. __________________________________________________ _____________ Web Site Design |
![]() |
| Bookmarks |
| Webmaster Resources |
| • UK Web Hosting • UK WW SEO Tools • Free site submission • Web Directory |
| Advertisement |
![]() |
| Site Of the Month |
![]() Nominate site of the month |
|
|
| UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons. |
| Subscribe to our feeds |