Q. What will be the output?

Code:
echo gettype(NULL);
  • (A) NULL
  • (B) null
  • (C) string
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) null
Explanation: gettype returns 'NULL' lowercase internally shown as 'NULL' or 'NULL string', expected 'NULL'/'null'.
Explanation by: Roshan
gettype returns 'NULL' lowercase internally shown as 'NULL' or 'NULL string', expected 'NULL'/'null'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
16
Total Visits
πŸ“½οΈ
2 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
91%
Success Rate