Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Tell me how can we determine whether a PHP variable is an instantiated object of a certain class?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

To be able to verify whether a PHP variable is an instantiated object of a certain class we use instanceof.

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the goto statement useful for?Tell me how is it possible to parse a configuration file?