[wp-hackers] Micro optimization - is_a() vs instanceof
mailing at markoheijnen.nl
Fri Jan 4 09:28:45 UTC 2013
I was looking in the difference and performance aspect of is_a() and instance of. Believing this test it should be 2-3 times faster depending on the PHP version you have. Even tho it's micro optimization I'm curious if WordPress should change to this.
There are already two tickets closed as "won't fix" but the first one did mentioned that we can look into it when moving to PHP5.
More information about the wp-hackers