Q. Which of the following will output the type and value of a variable?

  • (A) var_dump()
  • (B) print_r()
  • (C) echo
  • (D) var_export()
πŸ’¬ Discuss
βœ… Correct Answer: (A) var_dump()
Explanation: var_dump() displays structured information about variables including type and value.
Explanation by: Rati Dubey
var_dump() displays structured information about variables including type and value.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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