Home
last modified time | relevance | path

Searched refs:Z_OBJCE_P (Results 1 – 25 of 71) sorted by path

123

/PHP-7.4/Zend/
H A Dzend_API.c1118 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1120 …ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name(), ZSTR_VAL(ce->name), get_active_fu… in zend_parse_method_parameters()
1150 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
1153 …ZSTR_VAL(ce->name), get_active_function_name(), ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_fu… in zend_parse_method_parameters_ex()
1175 EG(fake_scope) = Z_OBJCE_P(obj); in zend_merge_properties()
3302 return zend_create_method_string(Z_OBJCE_P(obj)->name, Z_STR_P(method)); in zend_get_callable_name_ex()
3314 zend_class_entry *ce = Z_OBJCE_P(callable); in zend_get_callable_name_ex()
3408 fcc->calling_scope = Z_OBJCE_P(obj); /* TBFixed: what if it's overloaded? */ in zend_is_callable_impl()
4465 return instanceof_function(Z_OBJCE_P(iterable), zend_ce_traversable); in zend_is_iterable()
4482 return instanceof_function(Z_OBJCE_P(countable), zend_ce_countable); in zend_is_countable()
H A Dzend_API.h1702 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_object()
H A Dzend_builtin_functions.c974 RETURN_STR_COPY(Z_OBJCE_P(obj)->name); in ZEND_FUNCTION()
1063 instance_ce = Z_OBJCE_P(obj); in is_a_impl()
1268 (Z_OBJCE_P(obj)->default_properties_count || in ZEND_FUNCTION()
1309 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION()
1360 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION()
1425 ce = Z_OBJCE_P(object); in ZEND_FUNCTION()
H A Dzend_closures.c77 !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { in zend_valid_closure_binding()
82 ZSTR_VAL(Z_OBJCE_P(newthis)->name)); in zend_valid_closure_binding()
141 if (!zend_valid_closure_binding(closure, newthis, Z_OBJCE_P(newthis))) { in ZEND_METHOD()
147 …zend_create_closure(&new_closure, &closure->func, Z_OBJCE_P(newthis), closure->called_scope, newth… in ZEND_METHOD()
154 my_function.common.scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
162 && (closure->func.common.scope != Z_OBJCE_P(newthis) in ZEND_METHOD()
216 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
240 called_scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
349 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD()
H A Dzend_exceptions.c63 …return instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_err… in i_get_exception_base()
162 …if (exception && (Z_OBJCE_P(exception) == zend_ce_parse_error || Z_OBJCE_P(exception) == zend_ce_c… in zend_throw_exception_internal()
336 !instanceof_function(Z_OBJCE_P(pvalue), zend_ce_throwable) || in ZEND_METHOD()
689 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD()
710 …if ((Z_OBJCE_P(exception) == zend_ce_type_error || Z_OBJCE_P(exception) == zend_ce_argument_count_… in ZEND_METHOD()
719 ZSTR_VAL(Z_OBJCE_P(exception)->name), ZSTR_VAL(message), ZSTR_VAL(file), line, in ZEND_METHOD()
725 ZSTR_VAL(Z_OBJCE_P(exception)->name), ZSTR_VAL(file), line, in ZEND_METHOD()
745 …T && (base_ce = i_get_exception_base(exception)) && instanceof_function(Z_OBJCE_P(exception), base… in ZEND_METHOD()
1061 exception_ce = Z_OBJCE_P(exception); in zend_throw_exception_object()
H A Dzend_execute.c771 *given_kind = ZSTR_VAL(Z_OBJCE_P(value)->name); in zend_verify_type_error_common()
963 return instanceof_function(Z_OBJCE_P(property), ZEND_TYPE_CE(info->type)); in i_zend_check_property_type()
1038 return instanceof_function(Z_OBJCE_P(arg), *ce); in zend_check_type()
2316 zend_class_entry *ce = Z_OBJCE_P(container); in zend_fetch_dimension_address()
2327 zend_class_entry *ce = Z_OBJCE_P(container); in zend_fetch_dimension_address()
2855 EXPECTED(Z_OBJCE_P(container) == CACHED_PTR_EX(cache_slot))) { in zend_fetch_property_address()
3115 Z_TYPE_P(zv) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(zv)->name) : zend_get_type_by_const(Z_TYPE_P(zv)), in zend_throw_ref_type_error_type()
3129 Z_TYPE_P(zv) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(zv)->name) : zend_get_type_by_const(Z_TYPE_P(zv)), in zend_throw_ref_type_error_zval()
3141 Z_TYPE_P(zv) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(zv)->name) : zend_get_type_by_const(Z_TYPE_P(zv)), in zend_throw_conflicting_coercion_error()
3169 return zv_type == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), ZEND_TYPE_CE(type)); in i_zend_verify_type_assignable_zval()
[all …]
H A Dzend_interfaces.c65 obj_ce = object ? Z_OBJCE_P(object) : NULL; in zend_call_method()
90 fcic.called_scope = Z_OBJCE_P(object); in zend_call_method()
108 obj_ce = object ? Z_OBJCE_P(object) : NULL; in zend_call_method()
255 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator()
273 …ble or implement interface Iterator", ce ? ZSTR_VAL(ce->name) : ZSTR_VAL(Z_OBJCE_P(object)->name)); in zend_user_it_get_new_iterator()
437 zend_class_entry * ce = Z_OBJCE_P(object); in zend_user_serialize()
496 zend_class_entry *ce = Z_OBJCE_P(object); in zend_class_serialize_deny()
H A Dzend_object_handlers.c147 zend_class_entry *ce = Z_OBJCE_P(object); in zend_std_get_debug_info()
940 zend_class_entry *ce = Z_OBJCE_P(object); in zend_std_read_dimension()
990 zend_class_entry *ce = Z_OBJCE_P(object); in zend_std_write_dimension()
1012 zend_class_entry *ce = Z_OBJCE_P(object); in zend_std_has_dimension()
1194 zend_class_entry *ce = Z_OBJCE_P(object); in zend_std_unset_dimension()
1812 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1832 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1837 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1842 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1857 zend_class_entry *ce = Z_OBJCE_P(obj); in zend_std_get_closure()
H A Dzend_operators.c143 "Object of class %s could not be converted to %s", ZSTR_VAL(Z_OBJCE_P(op)->name),\
594 …_error(NULL, "Object of class %s could not be converted to string", ZSTR_VAL(Z_OBJCE_P(op)->name)); in _convert_to_string()
638 if (Z_OBJCE_P(op) == zend_ce_closure) { in convert_to_array()
644 (Z_OBJCE_P(op)->default_properties_count || in convert_to_array()
908 …_error(NULL, "Object of class %s could not be converted to string", ZSTR_VAL(Z_OBJCE_P(op)->name)); in __zval_get_string_func()
H A Dzend_types.h714 #define Z_OBJCE_P(zval_p) Z_OBJCE(*(zval_p)) macro
H A Dzend_vm_def.h3448 Z_CE_P(EX_VAR(opline->result.var)) = Z_OBJCE_P(class_name);
4982 zend_class_entry *ce = Z_OBJCE_P(args);
5547 ce = Z_OBJCE_P(obj);
5794 zend_class_entry *ce = Z_OBJCE_P(op1);
5951 (Z_OBJCE_P(expr)->default_properties_count ||
6310 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
6399 if (!Z_OBJCE_P(array_ptr)->get_iterator) {
7427 result = ce && instanceof_function(Z_OBJCE_P(expr), ce);
7867 zend_class_entry *ce = Z_OBJCE_P(val);
8676 if (instanceof_function(Z_OBJCE_P(op1), zend_ce_countable)) {
[all …]
H A Dzend_vm_execute.h1935 zend_class_entry *ce = Z_OBJCE_P(args); in ZEND_SEND_UNPACK_SPEC_HANDLER()
2209 zend_class_entry *ce = Z_OBJCE_P(op1); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
3936 ce = Z_OBJCE_P(obj); in ZEND_CLONE_SPEC_CONST_HANDLER()
4142 if (!Z_OBJCE_P(array_ptr)->get_iterator) { in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
4453 zend_class_entry *ce = Z_OBJCE_P(val); in ZEND_YIELD_FROM_SPEC_CONST_HANDLER()
13677 ce = Z_OBJCE_P(obj); in ZEND_CLONE_SPEC_TMPVAR_HANDLER()
18567 zend_class_entry *ce = Z_OBJCE_P(val); in ZEND_YIELD_FROM_SPEC_TMP_HANDLER()
21999 zend_class_entry *ce = Z_OBJCE_P(val); in ZEND_YIELD_FROM_SPEC_VAR_HANDLER()
30390 ce = Z_OBJCE_P(obj); in ZEND_CLONE_SPEC_UNUSED_HANDLER()
37416 ce = Z_OBJCE_P(obj); in ZEND_CLONE_SPEC_CV_HANDLER()
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_saproxy.c440 if (Z_OBJCE_P(com_object) == php_com_saproxy_class_entry) { in php_com_saproxy_create()
H A Dcom_wrapper.c534 trace("constructing a COM wrapper for PHP object %p (%s)\n", object, Z_OBJCE_P(object)->name); in disp_constructor()
H A Dphp_com_dotnet_internal.h55 zend_class_entry *ce = Z_OBJCE_P(zv); in php_com_is_valid_object()
/PHP-7.4/ext/curl/
H A Dinterface.c2196 instanceof_function(Z_OBJCE_P(current), curl_CURLFile_class)) { in build_mime_structure_from_hash()
/PHP-7.4/ext/date/
H A Dphp_date.c4735 dpobj->start_ce = Z_OBJCE_P(start); in PHP_METHOD()
5301 …if (Z_TYPE_P(ht_entry) == IS_OBJECT && instanceof_function(Z_OBJCE_P(ht_entry), date_ce_interface)… in php_date_period_initialize_from_hash()
5305 period_obj->start_ce = Z_OBJCE_P(ht_entry); in php_date_period_initialize_from_hash()
5315 …if (Z_TYPE_P(ht_entry) == IS_OBJECT && instanceof_function(Z_OBJCE_P(ht_entry), date_ce_interface)… in php_date_period_initialize_from_hash()
5328 …if (Z_TYPE_P(ht_entry) == IS_OBJECT && instanceof_function(Z_OBJCE_P(ht_entry), date_ce_interface)… in php_date_period_initialize_from_hash()
5341 if (Z_TYPE_P(ht_entry) == IS_OBJECT && Z_OBJCE_P(ht_entry) == date_ce_interval) { in php_date_period_initialize_from_hash()
/PHP-7.4/ext/dom/
H A Ddocument.c1504 if (id != NULL && ! instanceof_function(Z_OBJCE_P(id), dom_document_class_entry)) { in dom_parse_document()
2081 if (id != NULL && instanceof_function(Z_OBJCE_P(id), dom_document_class_entry)) { in dom_load_html()
H A Ddom_iterators.c162 if (instanceof_function(Z_OBJCE_P(object), dom_nodelist_class_entry)) { in php_dom_iterator_current_key()
H A Dphp_dom.c1562 zend_call_method_with_1_params(object, Z_OBJCE_P(object), NULL, "item", rv, &offset_copy); in dom_nodelist_read_dimension()
1575 …zval *length = zend_read_property(Z_OBJCE_P(object), object, "length", sizeof("length") - 1, 0, &r… in dom_nodelist_has_dimension()
/PHP-7.4/ext/ffi/
H A Dffi.c1659 if (Z_TYPE_P(o1) == IS_OBJECT && Z_OBJCE_P(o1) == zend_ffi_cdata_ce && in zend_ffi_cdata_compare_objects()
1660 Z_TYPE_P(o2) == IS_OBJECT && Z_OBJCE_P(o2) == zend_ffi_cdata_ce) { in zend_ffi_cdata_compare_objects()
2623 if (Z_OBJCE_P(arg) == zend_ffi_cdata_ce) { in zend_ffi_pass_var_arg()
4692 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_read_dimension()
4700 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_write_dimension()
4707 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_has_dimension()
4715 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_unset_dimension()
4728 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_read_property()
4736 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_write_property()
4744 zend_class_entry *ce = Z_OBJCE_P(object); in zend_fake_has_property()
[all …]
/PHP-7.4/ext/filter/
H A Dfilter.c392 ce = Z_OBJCE_P(value); in php_zval_filter()
/PHP-7.4/ext/gmp/
H A Dgmp.c254 (Z_TYPE_P(zval) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zval), gmp_ce))
460 gmp_object *new_object = GET_GMP_OBJECT_FROM_OBJ(gmp_create_object(Z_OBJCE_P(obj))); in gmp_clone_obj()
/PHP-7.4/ext/hash/
H A Dhash.c1154 zend_object *znew = php_hashcontext_create(Z_OBJCE_P(pzv)); in php_hashcontext_clone()
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp108 ret_val = BreakIterator_ce_ptr->create_object(Z_OBJCE_P(object)); in BreakIterator_clone_obj()

Completed in 263 milliseconds

123