I am aware that instanceof is an operator and that is_a is a method.

Is the method slower in performance? What would you prefer to use?

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *