Avoid is_subclass_of
Merge pull request #310 from davedevelopment/avoid-php-53-bug

Avoid is_subclass_of