PHP Variable and Value Types (Chapter 5)
Main Lab 4 Page
There are three basic variable types used in PHP:
- Integer, which stores a whole number
- Float, which stores a decimal number
- String, which stores any arbitrary sequence of characters
All three are demonstrated here:
integer: 9554215464
float: 1542.2232235
string: This is a string.