Home
last modified time | relevance | path

Searched refs:interface_ce (Results 1 – 3 of 3) sorted by relevance

/PHP-8.4/Zend/
H A Dzend_operators.h80 …class_implements_interface(const zend_class_entry *class_ce, const zend_class_entry *interface_ce);
H A Dzend_operators.c2458 …lements_interface(const zend_class_entry *class_ce, const zend_class_entry *interface_ce) /* {{{ */ in zend_class_implements_interface() argument
2461 ZEND_ASSERT(interface_ce->ce_flags & ZEND_ACC_INTERFACE); in zend_class_implements_interface()
2466 if (class_ce->interfaces[i] == interface_ce) { in zend_class_implements_interface()
/PHP-8.4/ext/reflection/
H A Dphp_reflection.c5633 zend_class_entry *ce, *interface_ce; in ZEND_METHOD() local
5647 interface_ce = argument->ptr; in ZEND_METHOD()
5649 if ((interface_ce = zend_lookup_class(interface_str)) == NULL) { in ZEND_METHOD()
5655 if (!(interface_ce->ce_flags & ZEND_ACC_INTERFACE)) { in ZEND_METHOD()
5656 …_exception_ex(reflection_exception_ptr, 0, "%s is not an interface", ZSTR_VAL(interface_ce->name)); in ZEND_METHOD()
5662 RETURN_BOOL(instanceof_function(ce, interface_ce)); in ZEND_METHOD()

Completed in 40 milliseconds