A

Admin • 825.56K Points
Coach

Q. What will echo 10 + '5 days'; output?

  • (A) 15
  • (B) 105
  • (C) Error
  • (D) 10
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
PHP automatically converts the string '5 days' to 5 for the addition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.