What is the difference between is_a and instanceof?
Posted
by Daniel L
on Stack Overflow
See other posts from Stack Overflow
or by Daniel L
Published on 2010-06-10T19:19:05Z
Indexed on
2010/06/10
19:22 UTC
Read the original article
Hit count: 130
php
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?
© Stack Overflow or respective owner