Which data type is used to represent a value that can only be true or false?

PHP Easy
Select the correct answer: Single Choice

Key points

  • Boolean is a scalar type
  • Values are case-insensitive true or false
  • Used primarily for control structures

Ready to go further?