<<< Previous question <<< Question ID#0630.md >>> Next question >>>
When comparing two strings, which of the following is acceptable?
- A)
$a === $b;
- B)
strcasecmp($a, $b);
- C)
strcmp($a, $b);
- D)
$a == $b;
Answer
Answer: A, B, C, D
When comparing two strings, which of the following is acceptable?
$a === $b;
strcasecmp($a, $b);
strcmp($a, $b);
$a == $b;
Answer: A, B, C, D