A

Admin • 832.27K Points
Coach

Q. What will be the output of var_dump(null == false)?

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

Explanation by: Admin

null is not equal to false in PHP when using loose comparison.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.