A

Admin • 832.27K Points
Coach

Q. What will the expression '2' + '3abc' return in PHP?

  • (A) 5
  • (B) 23abc
  • (C) Error
  • (D) 2
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

PHP converts '3abc' to 3 and performs numeric addition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.