Multiple choice technology web technology

Which of the following data type is compound datatype supported by PHP

  1. Array

  2. String

  3. Float

  4. Boolean

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

PHP's compound data types are Array and Object - types that can contain multiple values or complex structures. String, Float, and Boolean are scalar types representing single values. Array is a compound type because it can hold multiple elements in a single variable, making option A correct.