Home
last modified time | relevance | path

Searched refs:instance_ce (Results 1 – 4 of 4) sorted by relevance

/PHP-8.0/ext/intl/dateformat/
H A Ddateformat_format_object.cpp159 zend_class_entry *instance_ce = Z_OBJCE_P(object); in PHP_FUNCTION() local
160 if (instanceof_function(instance_ce, Calendar_ce_ptr)) { in PHP_FUNCTION()
178 } else if (instanceof_function(instance_ce, php_date_get_interface_ce())) { in PHP_FUNCTION()
/PHP-8.0/Zend/
H A Dzend_builtin_functions.c638 zend_class_entry *instance_ce; in is_a_impl() local
657 instance_ce = zend_lookup_class(Z_STR_P(obj)); in is_a_impl()
658 if (!instance_ce) { in is_a_impl()
662 instance_ce = Z_OBJCE_P(obj); in is_a_impl()
667 if (!only_subclass && EXPECTED(zend_string_equals(instance_ce->name, class_name))) { in is_a_impl()
674 if (only_subclass && instance_ce == ce) { in is_a_impl()
677 retval = instanceof_function(instance_ce, ce); in is_a_impl()
H A Dzend_operators.h67 ZEND_API zend_bool ZEND_FASTCALL instanceof_function_slow(const zend_class_entry *instance_ce, cons…
70 const zend_class_entry *instance_ce, const zend_class_entry *ce) { in instanceof_function() argument
71 return instance_ce == ce || instanceof_function_slow(instance_ce, ce); in instanceof_function()
H A Dzend_operators.c2293 ZEND_API zend_bool ZEND_FASTCALL instanceof_function_slow(const zend_class_entry *instance_ce, cons… in instanceof_function_slow() argument
2295 ZEND_ASSERT(instance_ce != ce && "Should have been checked already"); in instanceof_function_slow()
2299 if (instance_ce->num_interfaces) { in instanceof_function_slow()
2300 ZEND_ASSERT(instance_ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES); in instanceof_function_slow()
2301 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
2302 if (instance_ce->interfaces[i] == ce) { in instanceof_function_slow()
2310 instance_ce = instance_ce->parent; in instanceof_function_slow()
2311 if (instance_ce == ce) { in instanceof_function_slow()
2314 if (instance_ce == NULL) { in instanceof_function_slow()

Completed in 44 milliseconds