Lines Matching refs:klass
879 zval *klass; in ZEND_FUNCTION() local
887 Z_PARAM_ZVAL(klass) in ZEND_FUNCTION()
891 if (Z_TYPE_P(klass) == IS_OBJECT) { in ZEND_FUNCTION()
892 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION()
893 } else if (Z_TYPE_P(klass) == IS_STRING) { in ZEND_FUNCTION()
894 if ((ce = zend_lookup_class(Z_STR_P(klass))) == NULL) { in ZEND_FUNCTION()
898 …zend_argument_type_error(1, "must be of type object|string, %s given", zend_zval_value_name(klass)… in ZEND_FUNCTION()
910 RETURN_BOOL(Z_TYPE_P(klass) == IS_OBJECT in ZEND_FUNCTION()
914 if (Z_TYPE_P(klass) == IS_OBJECT) { in ZEND_FUNCTION()
915 zend_object *obj = Z_OBJ_P(klass); in ZEND_FUNCTION()
916 func = Z_OBJ_HT_P(klass)->get_method(&obj, method_name, NULL); in ZEND_FUNCTION()