Home
last modified time | relevance | path

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

12

/PHP-8.0/Zend/
H A Dzend_exceptions.c56 …if (instanceof_function(class_type, zend_ce_exception) || instanceof_function(class_type, zend_ce_… in zend_implement_throwable()
70 return instanceof_function(object->ce, zend_ce_exception) ? zend_ce_exception : zend_ce_error; in i_get_exception_base()
95 ZEND_ASSERT(instanceof_function(add_previous->ce, zend_ce_throwable) in zend_exception_set_previous()
670 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD()
726 …_OBJECT && (base_ce = i_get_exception_base(Z_OBJ_P(exception))) && instanceof_function(Z_OBJCE_P(e… in ZEND_METHOD()
853 ZEND_ASSERT(instanceof_function(exception_ce, zend_ce_throwable) in zend_throw_exception_zstr()
942 } else if (instanceof_function(ce_exception, zend_ce_throwable)) { in zend_exception_error()
962 …if (instanceof_function(ce_exception, zend_ce_exception) || instanceof_function(ce_exception, zend… in zend_exception_error()
1006 if (!exception_ce || !instanceof_function(exception_ce, zend_ce_throwable)) { in zend_throw_exception_object()
H A Dzend_API.c415 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
829 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
1148 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1180 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
3031 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class()
3078 instanceof_function(object->ce, scope) && in zend_is_callable_check_class()
3079 instanceof_function(scope, ce)) { in zend_is_callable_check_class()
3185 if (ce_org && !instanceof_function(ce_org, fcc->calling_scope)) { in zend_is_callable_check_func()
3219 instanceof_function(fcc->function_handler->common.scope, scope)) { in zend_is_callable_check_func()
3258 !instanceof_function(ce_org, fcc->function_handler->common.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()
364 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD()
H A Dzend_API.h2080 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_object()
2093 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_obj()
2110 …if (EXPECTED(Z_TYPE_P(arg) == IS_OBJECT) && EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0)… in zend_parse_arg_obj_or_long()
2228 if (!base_ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), base_ce))) { in zend_parse_arg_obj_or_str()
/PHP-8.0/ext/intl/dateformat/
H A Ddateformat_format_object.cpp160 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/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.0/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.0/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.0/ext/mysqli/
H A Dmysqli.c440 if (instanceof_function(class_type, mysqli_link_class_entry)) { in mysqli_objects_new()
442 } else if (instanceof_function(class_type, mysqli_driver_class_entry)) { /* driver object */ in mysqli_objects_new()
444 } else if (instanceof_function(class_type, mysqli_stmt_class_entry)) { /* stmt object */ in mysqli_objects_new()
446 } else if (instanceof_function(class_type, mysqli_result_class_entry)) { /* result object */ in mysqli_objects_new()
448 } else if (instanceof_function(class_type, mysqli_warning_class_entry)) { /* warning object */ in mysqli_objects_new()
464 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.h205 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) { \
H A Dmysqli_nonapi.c89 if (object && instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) {
351 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) {
734 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
769 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
/PHP-8.0/ext/soap/
H A Dsoap.c107 !instanceof_function(EG(exception)->ce, soap_fault_class_entry)) {\
1184 if (instanceof_function(Z_OBJCE(exception_object), soap_fault_class_entry)) { in _soap_server_exception()
1186 } else if (instanceof_function(Z_OBJCE(exception_object), zend_ce_error)) { in _soap_server_exception()
1521 instanceof_function(Z_OBJCE(h->retval), soap_fault_class_entry)) {
1592 instanceof_function(Z_OBJCE(retval), soap_fault_class_entry)) {
1954 instanceof_function(Z_OBJCE_P(fault), soap_fault_class_entry)) {
2456 instanceof_function(Z_OBJCE_P(return_value), soap_fault_class_entry) &&
2493 !instanceof_function(Z_OBJCE_P(tmp), soap_header_class_entry)) {
3542 instanceof_function(Z_OBJCE_P(ret), soap_fault_class_entry)) {
3561 instanceof_function(Z_OBJCE_P(hdr_ret), soap_header_class_entry)) {
[all …]
/PHP-8.0/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 Dparentnode.c160 if (instanceof_function(ce, dom_node_class_entry)) { in dom_zvals_to_fragment()
H A Dxpath.c159 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in dom_xpath_ext_function_php()
H A Ddocument.c1301 if (id != NULL && ! instanceof_function(Z_OBJCE_P(id), dom_document_class_entry)) { in dom_parse_document()
1886 if (id != NULL && instanceof_function(Z_OBJCE_P(id), dom_document_class_entry)) { in dom_load_html()
2068 if (ce == NULL || instanceof_function(ce, basece)) { in PHP_METHOD()
H A Dphp_dom.c319 } else if (instanceof_function(obj->std.ce, dom_node_class_entry)) { in dom_read_property()
486 if (instanceof_function(intern->std.ce, dom_node_class_entry)) { in dom_objects_store_clone_obj()
/PHP-8.0/ext/spl/
H A Dspl_iterators.c336 !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator))) { in spl_recursive_it_move_forward_ex()
471 || !instanceof_function(Z_OBJCE_P(retval), zend_ce_traversable)) { in spl_get_iterator_from_aggregate()
503 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
529 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
541 if (!instanceof_function(Z_OBJCE_P(iterator), spl_ce_RecursiveIterator)) { in spl_recursive_it_it_construct()
1349 if (!instanceof_function(ce, zend_ce_iterator)) { in spl_dual_it_construct()
1352 || !instanceof_function(ce, ce_cast) in spl_dual_it_construct()
1360 if (instanceof_function(ce, zend_ce_aggregate)) { in spl_dual_it_construct()
2216 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
H A Dspl_array.c1612 if (instanceof_function(Z_OBJCE_P(entry), Z_OBJCE_P(ZEND_THIS))) { in PHP_METHOD()
1865 if (!instanceof_function(ce, spl_ce_Iterator)) { in PHP_METHOD()
/PHP-8.0/ext/xsl/
H A Dxsltprocessor.c263 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in xsl_ext_function_php()
572 if (ce == NULL || !instanceof_function(ce, curce)) { in PHP_METHOD()
/PHP-8.0/ext/json/
H A Djson_encoder.c564 if (instanceof_function(Z_OBJCE_P(val), php_json_serializable_ce)) { in php_json_encode_zval()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c1152 if (!instanceof_function(ce, base)) { in read_attributes()
2354 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
3155 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3233 if (!instanceof_function(obj_ce, mptr->common.scope)) { in reflection_method_invoke()
4252 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
4350 if (!instanceof_function(ce, ce2)) { in ZEND_METHOD()
4701 RETURN_BOOL(instanceof_function(Z_OBJCE_P(object), ce)); in ZEND_METHOD()
5012 RETURN_BOOL((ce != class_ce && instanceof_function(ce, class_ce))); in ZEND_METHOD()
5050 RETURN_BOOL(instanceof_function(ce, interface_ce)); in ZEND_METHOD()
5071 RETURN_BOOL(ce->get_iterator || instanceof_function(ce, zend_ce_traversable)); in ZEND_METHOD()
[all …]
/PHP-8.0/ext/xmlreader/
H A Dphp_xmlreader.c856 if (! instanceof_function(Z_OBJCE_P(id), xmlreader_class_entry)) { in PHP_METHOD()
1042 if (id != NULL && ! instanceof_function(Z_OBJCE_P(id), xmlreader_class_entry)) { in PHP_METHOD()
/PHP-8.0/ext/pdo/
H A Dpdo_dbh.c531 if (!instanceof_function(dbstmt_ce, pdo_dbstmt_ce)) { in PHP_METHOD()
782 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_utils.c764 if (ce == exception->ce || (ce && instanceof_function(exception->ce, ce))) { in phpdbg_check_caught_ex()

Completed in 186 milliseconds

12