Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 438 Bytes

0218.md

File metadata and controls

21 lines (15 loc) · 438 Bytes

What are possible value of the following code, if $a and $b variable are defined in current scope script?

echo ($a <=> $b);
  • A) -1, 0, 1
  • B) null, false, true
  • C) false, true
  • D) it depends on the type of $a, $b
Answer

Answer: A