Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 457 Bytes

0537.md

File metadata and controls

25 lines (21 loc) · 457 Bytes

Which of the following comparisons will evaluate to true?

var_dump(
    't' == t, // Notice
    1 === "1time",
    "top" == 0,
    "top" === 0,
    1 == "1time"
);
  • A) 't' == t
  • B) "top" == 0
  • C) 1 == "1time"
  • D) 1 === "1time"
Answer

Answer: A, B, C