Variables and constants hold specific datatypes. These include:
- Boolean: Holds true or false values (1 or 0).
- Integer: Holds numbers with no decimals, such as -10, 0, 5, 10, etc.
- Double: Holds decimals numbers (Floats), such as 9.25 and 10.2528.
- String: Holds characters, such as "Car", "Toe", "7-11 Stores" and "9-11."
- Array: See Arrays.
- Object: See Objects.
- Resource: See MySQL.
- Null: Holds the value NULL.
|