phalcon/cphalcon — pull request #1823 by sjinks (2014-01-14 23:58:45+00:00)
Title: Use is_phalcon_class()

Use `is_phalcon_class()` function introduced earlier to detect Phalcon classes instead of less reliable `Z_OBJCE_P(object)->type == ZEND_INTERNAL_CLASS`.

`is_phalcon_class()` is used mainly to avoid expensive function calls and use much faster native functions.