McqMate
| 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 | |
View all MCQs in
Linux and PHPNo comments yet