Q12
What will be the output of the following PHP code?
A.
bool(true)
AnswerB.
bool(false)
C.
error
D.
none of the above
Answer: Option A
Solution
Answer: Option A
Solution:
To check if an object is not an instanceof a class, the logical not operator can be used.