Examveda
Examveda

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

A. It converts them to a 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 bases its comparison on the C strcmp function exclusively

E. It converts both values to strings and compares them

Answer: Option A


This Question Belongs to PHP >> Basic PHP

Join The Discussion

Comments ( 1 )

  1. Stefano Favaretto
    Stefano Favaretto :
    4 years ago

    I think the answer is B

Related Questions on Basic PHP