DATA TYPES
Data types in PHP are generally divided into two categories namely scalar and composite. A scalar variable contains only one value at a time and PHP supports four scalar types:- boolean – can either be true or false.
- int – signed (can be positive or negative) numeric integer value.
- float – signed floating point value.
- string – collection of characters.