πŸ“Š PHP
Q. What is the output of 10 + '5' in PHP?
  • (A) 15
  • (B) 105
  • (C) Error
  • (D) '105'
πŸ’¬ Discuss
βœ… Correct Answer: (A) 15

Explanation: PHP automatically converts the string '5' to an integer before addition.

Explanation by: Mr. Dubey
PHP automatically converts the string '5' to an integer before addition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
40
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate