17 Jun
instanceof and is_a
This sort of thing drives me bonkers:
PHP: instanceof operator
The instanceof operator was introduced in PHP 5. Before this time is_a() was used but is_a() has since been deprecated in favor of instanceof. Note that as of PHP 5.3.0, is_a() is no longer deprecated.
See also get_class() and is_a().
To deprecate or not to deprecate? Why depricate a function that is very useful is the question I suppose.
I assume this is back in full effect in PHP 5.3. Thank god.