A

Admin • 833K Points
Coach

Q. What is the output of this code?

Code:
var_dump(null == false);
  • (A) bool(true)
  • (B) bool(false)
  • (C) Error
  • (D) NULL
  • Correct Answer - Option(A)
  • Views: 32
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

When using == operator, null is considered equal to false.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.