A

Admin • 828.03K Points
Coach

Q. What will be the result of 4 === '4' in PHP?

  • (A) true
  • (B) false
  • (C) error
  • (D) null
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
=== checks for both value and type. 4 is integer, '4' is string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.