Home
last modified time | relevance | path

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

12

/PHP-7.3/Zend/
H A Dzend_exceptions.c49 …if (instanceof_function(class_type, zend_ce_exception) || instanceof_function(class_type, zend_ce_… in zend_implement_throwable()
63 …return instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_err… in i_get_exception_base()
89 if (!instanceof_function(Z_OBJCE(pv), zend_ce_throwable)) { in zend_exception_set_previous()
332 !instanceof_function(Z_OBJCE_P(pvalue), zend_ce_throwable) || in ZEND_METHOD()
685 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD()
741 …on) == IS_OBJECT && (base_ce = i_get_exception_base(exception)) && instanceof_function(Z_OBJCE_P(e… in ZEND_METHOD()
908 if (!instanceof_function(exception_ce, zend_ce_throwable)) { in zend_throw_exception()
998 } else if (instanceof_function(ce_exception, zend_ce_throwable)) { in zend_exception_error()
1018 …if (instanceof_function(ce_exception, zend_ce_exception) || instanceof_function(ce_exception, zend… in zend_exception_error()
1059 if (!exception_ce || !instanceof_function(exception_ce, zend_ce_throwable)) { in zend_throw_exception_object()
H A Dzend_API.c342 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_class()
743 if ((!*pce || !instanceof_function(*pce, ce_base))) { in zend_parse_arg_impl()
1075 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1107 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
2975 instanceof_function(object->ce, scope) && in zend_is_callable_check_class()
2976 instanceof_function(scope, ce)) { in zend_is_callable_check_class()
3071 if (ce_org && !instanceof_function(ce_org, fcc->calling_scope)) { in zend_is_callable_check_func()
3105 instanceof_function(fcc->function_handler->common.scope, scope)) { in zend_is_callable_check_func()
3176 instanceof_function(object->ce, fcc->calling_scope)) { in zend_is_callable_check_func()
4322 return instanceof_function(Z_OBJCE_P(iterable), zend_ce_traversable); in zend_is_iterable()
[all …]
H A Dzend_closures.c77 !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { in zend_valid_closure_binding()
314 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD()
H A Dzend_interfaces.c96 !instanceof_function(called_scope, obj_ce))) { in zend_call_method()
/PHP-7.3/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-7.3/ext/intl/common/
H A Dcommon_date.cpp208 if (instanceof_function(Z_OBJCE_P(z), php_date_get_interface_ce())) {
210 } else if (instanceof_function(Z_OBJCE_P(z), Calendar_ce_ptr)) {
/PHP-7.3/ext/pdo_mysql/
H A Dpdo_mysql.c65 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), php_pdo_get_dbh_ce())) { in ZEND_GET_MODULE()
/PHP-7.3/ext/mysqli/
H A Dmysqli.c457 if (instanceof_function(class_type, mysqli_link_class_entry)) { in mysqli_objects_new()
459 } else if (instanceof_function(class_type, mysqli_driver_class_entry)) { /* driver object */ in mysqli_objects_new()
461 } else if (instanceof_function(class_type, mysqli_stmt_class_entry)) { /* stmt object */ in mysqli_objects_new()
463 } else if (instanceof_function(class_type, mysqli_result_class_entry)) { /* result object */ in mysqli_objects_new()
465 } else if (instanceof_function(class_type, mysqli_warning_class_entry)) { /* warning object */ in mysqli_objects_new()
481 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 Dmysqli_warning.c301 if (!getThis() || !instanceof_function(Z_OBJCE_P(getThis()), mysqli_warning_class_entry)) {
H A Dmysqli_nonapi.c90 if (object && instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) {
328 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) {
710 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
745 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
H A Dphp_mysqli_structs.h234 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) { \
/PHP-7.3/ext/intl/timezone/
H A Dtimezone_class.cpp148 instanceof_function(Z_OBJCE_P(zv_timezone), TimeZone_ce_ptr)) { in timezone_process_timezone_argument()
171 instanceof_function(Z_OBJCE_P(zv_timezone), php_date_get_timezone_ce())) { in timezone_process_timezone_argument()
/PHP-7.3/ext/soap/
H A Dsoap.c107 !instanceof_function(EG(exception)->ce, soap_fault_class_entry)) {\
1466 if (instanceof_function(Z_OBJCE(exception_object), soap_fault_class_entry)) { in _soap_server_exception()
1468 } else if (instanceof_function(Z_OBJCE(exception_object), zend_ce_error)) { in _soap_server_exception()
1796 instanceof_function(Z_OBJCE(h->retval), soap_fault_class_entry)) {
1865 instanceof_function(Z_OBJCE(retval), soap_fault_class_entry)) {
2252 instanceof_function(Z_OBJCE_P(fault), soap_fault_class_entry)) {
2760 instanceof_function(Z_OBJCE_P(return_value), soap_fault_class_entry) &&
2798 !instanceof_function(Z_OBJCE_P(tmp), soap_header_class_entry)) {
3831 instanceof_function(Z_OBJCE_P(ret), soap_fault_class_entry)) {
3850 instanceof_function(Z_OBJCE_P(hdr_ret), soap_header_class_entry)) {
[all …]
/PHP-7.3/ext/standard/
H A Dassert.c248 instanceof_function(Z_OBJCE_P(description), zend_ce_throwable)) { in PHP_FUNCTION()
/PHP-7.3/ext/dom/
H A Ddom_iterators.c162 if (instanceof_function(Z_OBJCE_P(object), dom_nodelist_class_entry)) { in php_dom_iterator_current_key()
H A Dxpath.c203 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in dom_xpath_ext_function_php()
H A Ddocument.c1482 if (id != NULL && ! instanceof_function(Z_OBJCE_P(id), dom_document_class_entry)) { in dom_parse_document()
2055 if (id != NULL && instanceof_function(Z_OBJCE_P(id), dom_document_class_entry)) { in dom_load_html()
2247 if (ce == NULL || instanceof_function(ce, basece)) { in PHP_METHOD()
/PHP-7.3/ext/intl/transliterator/
H A Dtransliterator_methods.c326 instanceof_function( Z_OBJCE_P( arg1 ), Transliterator_ce_ptr ) ) in PHP_FUNCTION()
/PHP-7.3/ext/spl/
H A Dspl_iterators.c349 !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator))) { in spl_recursive_it_move_forward_ex()
496 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
524 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
536 if (!iterator || !instanceof_function(Z_OBJCE_P(iterator), spl_ce_RecursiveIterator)) { in spl_recursive_it_it_construct()
1504 if (!instanceof_function(ce, zend_ce_iterator)) { in spl_dual_it_construct()
1507 || !instanceof_function(ce, ce_cast) in spl_dual_it_construct()
1515 if (instanceof_function(ce, zend_ce_aggregate)) { in spl_dual_it_construct()
1521 … if (Z_TYPE(retval) != IS_OBJECT || !instanceof_function(Z_OBJCE(retval), zend_ce_traversable)) { in spl_dual_it_construct()
2495 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
/PHP-7.3/ext/xsl/
H A Dxsltprocessor.c342 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in xsl_ext_function_php()
647 if (ce == NULL || !instanceof_function(ce, curce)) { in PHP_FUNCTION()
/PHP-7.3/ext/json/
H A Djson_encoder.c566 if (instanceof_function(Z_OBJCE_P(val), php_json_serializable_ce)) { in php_json_encode_zval()
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c2348 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
3072 if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { in ZEND_METHOD()
3158 if (!instanceof_function(obj_ce, mptr->common.scope)) { in reflection_method_invoke()
4198 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
4306 if (!instanceof_function(ce, ce2)) { in ZEND_METHOD()
4662 RETURN_BOOL(instanceof_function(Z_OBJCE_P(object), ce)); in ZEND_METHOD()
5031 if (instanceof_function(Z_OBJCE_P(class_name), reflection_class_ptr)) { in ZEND_METHOD()
5047 RETURN_BOOL((ce != class_ce && instanceof_function(ce, class_ce))); in ZEND_METHOD()
5074 if (instanceof_function(Z_OBJCE_P(interface), reflection_class_ptr)) { in ZEND_METHOD()
5095 RETURN_BOOL(instanceof_function(ce, interface_ce)); in ZEND_METHOD()
[all …]
/PHP-7.3/ext/xmlreader/
H A Dphp_xmlreader.c857 if (! instanceof_function(Z_OBJCE_P(id), xmlreader_class_entry)) { in PHP_METHOD()
1041 if (id != NULL && ! instanceof_function(Z_OBJCE_P(id), xmlreader_class_entry)) { in PHP_METHOD()
/PHP-7.3/ext/pdo/
H A Dpdo_dbh.c518 if (!instanceof_function(dbstmt_ce, pdo_dbstmt_ce)) { in PHP_METHOD()
786 if (!instanceof_function(pce, pdo_dbstmt_ce)) { in pdo_dbh_attribute_set()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_utils.c772 if (ce == exception->ce || (ce && instanceof_function(exception->ce, ce))) { in phpdbg_check_caught_ex()

Completed in 117 milliseconds

12