Q.

How does the identity operator ===compare two values in PHP?

A. It converts them to common compatible data type and then compares the resulting values.
B. It returns True only if they are both of the same type and value
C. If the two values are strings, it performs a lexical comparison
D. It based its comparison on the C strcmp function exclusively
Answer» B. It returns True only if they are both of the same type and value
1.6k
0
Do you find this helpful?
8

View all MCQs in

Linux and PHP

Discussion

No comments yet