There are 8 data types in PHP out of which 5 are scalar. Variables hold the values of these data types. Variables react according to data types they hold. Following are the PHP data types:

  1. Integers
  2. Floating Point Numbers
  3. Strings: Single Quotes & Double Quotes
  4. Booleans
  5. Null
  6. Resources
  7. Arrays
  8. Constants

(Related Tutorials)