Home
last modified time | relevance | path

Searched refs:instanceof_function (Results 1 – 25 of 51) sorted by relevance

123

/PHP-8.3/Zend/
H A Dzend_exceptions.c85 return instanceof_function(object->ce, zend_ce_exception) ? zend_ce_exception : zend_ce_error; in i_get_exception_base()
110 ZEND_ASSERT(instanceof_function(add_previous->ce, zend_ce_throwable) in zend_exception_set_previous()
666 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD()
735 …_OBJECT && (base_ce = i_get_exception_base(Z_OBJ_P(exception))) && instanceof_function(Z_OBJCE_P(e… in ZEND_METHOD()
831 ZEND_ASSERT(instanceof_function(exception_ce, zend_ce_throwable) in zend_throw_exception_zstr()
880 if (exception_ce && instanceof_function(exception_ce, zend_ce_error_exception)) { in zend_throw_error_exception()
922 } else if (instanceof_function(ce_exception, zend_ce_throwable)) { in zend_exception_error()
942 …if (instanceof_function(ce_exception, zend_ce_exception) || instanceof_function(ce_exception, zend… in zend_exception_error()
1003 if (!exception_ce || !instanceof_function(exception_ce, zend_ce_throwable)) { in zend_throw_exception_object()
H A Dzend_API.c456 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
968 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
1288 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1320 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
3652 instanceof_function(object->ce, scope) && in zend_is_callable_check_class()
3653 instanceof_function(scope, ce)) { in zend_is_callable_check_class()
3758 instanceof_function(object->ce, scope) && in zend_is_callable_check_func()
3759 instanceof_function(scope, fcc->calling_scope)) { in zend_is_callable_check_func()
3776 if (ce_org && !instanceof_function(ce_org, fcc->calling_scope)) { in zend_is_callable_check_func()
3815 instanceof_function(fcc->function_handler->common.scope, scope)) { in zend_is_callable_check_func()
[all …]
H A Dzend_closures.c84 !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { in zend_valid_closure_binding()
398 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD()
H A Dzend_execute.c945 if (!ce || !instanceof_function(value_ce, ce)) { in zend_check_intersection_for_property_or_class_constant_class_type()
970 if (ce && instanceof_function(value_ce, ce)) { in zend_check_and_resolve_property_or_class_constant_class_type()
985 return ce && instanceof_function(value_ce, ce); in zend_check_and_resolve_property_or_class_constant_class_type()
1053 return instanceof_function(Z_OBJCE_P(zv), called_scope); in zend_value_instanceof_static()
1110 if (!ce || !instanceof_function(arg_ce, ce)) { in zend_check_intersection_type_from_cache_slot()
1144 if (ce && instanceof_function(Z_OBJCE_P(arg), ce)) { in zend_check_type_slow()
1155 if (ce && instanceof_function(Z_OBJCE_P(arg), ce)) { in zend_check_type_slow()
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_format_object.cpp151 if (instanceof_function(instance_ce, Calendar_ce_ptr)) { in PHP_FUNCTION()
169 } else if (instanceof_function(instance_ce, php_date_get_interface_ce())) { in PHP_FUNCTION()
/PHP-8.3/ext/intl/common/
H A Dcommon_date.cpp200 if (instanceof_function(Z_OBJCE_P(z), php_date_get_interface_ce())) { in intl_zval_to_millis()
202 } else if (instanceof_function(Z_OBJCE_P(z), Calendar_ce_ptr)) { in intl_zval_to_millis()
/PHP-8.3/ext/mysqli/
H A Dmysqli.c386 if (instanceof_function(class_type, mysqli_link_class_entry)) { in mysqli_objects_new()
388 } else if (instanceof_function(class_type, mysqli_driver_class_entry)) { /* driver object */ in mysqli_objects_new()
390 } else if (instanceof_function(class_type, mysqli_stmt_class_entry)) { /* stmt object */ in mysqli_objects_new()
392 } else if (instanceof_function(class_type, mysqli_result_class_entry)) { /* result object */ in mysqli_objects_new()
394 } else if (instanceof_function(class_type, mysqli_warning_class_entry)) { /* warning object */ in mysqli_objects_new()
409 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), mysqli_link_class_entry)) { in mysqli_convert_zv_to_mysqlnd()
H A Dphp_mysqli_structs.h173 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) { \
H A Dmysqli_nonapi.c90 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry));
295 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry));
652 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
686 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
/PHP-8.3/ext/intl/timezone/
H A Dtimezone_class.cpp147 instanceof_function(Z_OBJCE_P(zv_timezone), TimeZone_ce_ptr)) { in timezone_process_timezone_argument()
170 instanceof_function(Z_OBJCE_P(zv_timezone), php_date_get_timezone_ce())) { in timezone_process_timezone_argument()
/PHP-8.3/ext/zend_test/
H A Dtest.c906 if (Z_TYPE_P(arg) == IS_OBJECT && instanceof_function(Z_OBJ_P(arg)->ce, zend_ce_iterator)) { in ZEND_METHOD()
1102 instanceof_function(obj->ce, zend_standard_class_def) in ZEND_METHOD()
1104 instanceof_function(obj->ce, zend_ce_iterator) in ZEND_METHOD()
1161 instanceof_function(obj->ce, zend_ce_iterator) in ZEND_NAMED_FUNCTION()
1163 instanceof_function(obj->ce, zend_ce_traversable) in ZEND_NAMED_FUNCTION()
1164 && instanceof_function(obj->ce, zend_ce_countable) in ZEND_NAMED_FUNCTION()
H A Dobject_handlers.c44 (Z_TYPE_P(zval) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zval), donc_ce))
/PHP-8.3/ext/pdo_mysql/
H A Dpdo_mysql.c63 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), php_pdo_get_dbh_ce())) { in ZEND_GET_MODULE()
/PHP-8.3/ext/soap/
H A Dsoap.c107 !instanceof_function(EG(exception)->ce, soap_fault_class_entry)) {\
1137 } else if (instanceof_function(Z_OBJCE(exception_object), zend_ce_error)) { in _soap_server_exception()
1438 instanceof_function(Z_OBJCE(h->retval), soap_fault_class_entry)) {
1499 instanceof_function(Z_OBJCE(retval), soap_fault_class_entry)) {
1855 instanceof_function(Z_OBJCE_P(fault), soap_fault_class_entry)) {
2383 !instanceof_function(Z_OBJCE_P(tmp), soap_header_class_entry)) {
2746 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(obj), soap_class_entry));
2756 if (instanceof_function(Z_OBJCE_P(obj), soap_class_entry)) {
3382 instanceof_function(Z_OBJCE_P(ret), soap_fault_class_entry)) {
3396 instanceof_function(Z_OBJCE_P(hdr_ret), soap_header_class_entry)) {
[all …]
/PHP-8.3/ext/spl/
H A Dspl_iterators.c380 !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator))) { in spl_recursive_it_move_forward_ex()
525 || !instanceof_function(Z_OBJCE_P(retval), zend_ce_traversable)) { in spl_get_iterator_from_aggregate()
569 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
594 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
606 if (!instanceof_function(Z_OBJCE_P(iterator), spl_ce_RecursiveIterator)) { in spl_recursive_it_it_construct()
1381 if (!instanceof_function(ce, zend_ce_iterator)) { in spl_dual_it_construct()
1384 || !instanceof_function(ce, ce_cast) in spl_dual_it_construct()
1392 if (instanceof_function(ce, zend_ce_aggregate)) { in spl_dual_it_construct()
2235 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
/PHP-8.3/ext/dom/
H A Ddom_iterators.c160 if (instanceof_function(Z_OBJCE_P(object), dom_nodelist_class_entry)) { in php_dom_iterator_current_key()
H A Dxpath.c162 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in dom_xpath_ext_function_php()
H A Dparentnode.c265 if (instanceof_function(ce, dom_node_class_entry)) { in dom_sanity_check_node_list_for_insertion()
/PHP-8.3/ext/xsl/
H A Dxsltprocessor.c274 …} else if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entr… in xsl_ext_function_php()
584 if (ce == NULL || !instanceof_function(ce, curce)) { in PHP_METHOD()
/PHP-8.3/ext/random/
H A Drandomizer.c507 …if (Z_TYPE_P(zengine) != IS_OBJECT || !instanceof_function(Z_OBJCE_P(zengine), random_ce_Random_En… in PHP_METHOD()
/PHP-8.3/ext/xmlreader/
H A Dphp_xmlreader.c853 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(id), xmlreader_class_entry)); in PHP_METHOD()
1037 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(id), xmlreader_class_entry)); in PHP_METHOD()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c1175 if (!instanceof_function(ce, base)) { in read_attributes()
2469 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
3351 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3418 if (!instanceof_function(obj_ce, mptr->common.scope)) { in reflection_method_invoke()
4542 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
4640 if (!instanceof_function(ce, ce2)) { in ZEND_METHOD()
5003 RETURN_BOOL(instanceof_function(Z_OBJCE_P(object), ce)); in ZEND_METHOD()
5332 RETURN_BOOL((ce != class_ce && instanceof_function(ce, class_ce))); in ZEND_METHOD()
5370 RETURN_BOOL(instanceof_function(ce, interface_ce)); in ZEND_METHOD()
5391 RETURN_BOOL(ce->get_iterator || instanceof_function(ce, zend_ce_traversable)); in ZEND_METHOD()
[all …]
/PHP-8.3/ext/json/
H A Djson_encoder.c659 if (instanceof_function(Z_OBJCE_P(val), php_json_serializable_ce)) { in php_json_encode_zval()
/PHP-8.3/ext/pdo/
H A Dpdo_dbh.c537 if (!instanceof_function(dbstmt_ce, pdo_dbstmt_ce)) { in PHP_METHOD()
830 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_utils.c641 if (ce == exception->ce || (ce && instanceof_function(exception->ce, ce))) { in phpdbg_check_caught_ex()

Completed in 123 milliseconds

123