Q. Which statement is true about PHP arrays?

  • (A) Arrays can hold multiple data types
  • (B) Arrays are always indexed by integers
  • (C) Arrays cannot be associative
  • (D) Arrays must contain elements of the same type
πŸ’¬ Discuss
βœ… Correct Answer: (A) Arrays can hold multiple data types
Explanation: PHP arrays can hold any mix of data types and can be indexed or associative.
Explanation by: Rati Dubey
PHP arrays can hold any mix of data types and can be indexed or associative.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
98%
Success Rate