Lines Matching refs:klass
914 zval *klass; in ZEND_FUNCTION() local
921 Z_PARAM_ZVAL(klass) in ZEND_FUNCTION()
925 if (Z_TYPE_P(klass) == IS_OBJECT) { in ZEND_FUNCTION()
926 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION()
927 } else if (Z_TYPE_P(klass) == IS_STRING) { in ZEND_FUNCTION()
928 if ((ce = zend_lookup_class(Z_STR_P(klass))) == NULL) { in ZEND_FUNCTION()
932 …zend_argument_type_error(1, "must be of type object|string, %s given", zend_zval_type_name(klass)); in ZEND_FUNCTION()
944 RETURN_BOOL(Z_TYPE_P(klass) == IS_OBJECT in ZEND_FUNCTION()
948 if (Z_TYPE_P(klass) == IS_OBJECT) { in ZEND_FUNCTION()
949 zend_object *obj = Z_OBJ_P(klass); in ZEND_FUNCTION()
950 func = Z_OBJ_HT_P(klass)->get_method(&obj, method_name, NULL); in ZEND_FUNCTION()