PHP data types

MCQsQuestion.com has 3 Question/Answers about Topic PHP data types

Which one is not a data type in PHP?

Which one is not a data type in PHP?
  • A. Resources
  • B. Objects
  • C. Null
  • D. Void
  • Correct Answer: Option D

Which data type in PHP offers special variables that hold references of resources that are external to PHP?

Which data type in PHP offers special variables that hold references of resources that are external to PHP?
  • A. Arrays
  • B. Objects
  • C. Resources
  • D. Strings
  • Correct Answer: Option C

When integer value overflows, they become

When integer value overflows, they become
  • A. Boolean
  • B. Floats
  • C. Integers
  • D. Strings
  • Correct Answer: Option B