Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/standard/
H A Dphp_incomplete_class.h29 if (Z_OBJCE_P(struc) == BG(incomplete_class)) { \
36 class_name = zend_string_copy(Z_OBJCE_P(struc)->name); \
H A Dvar.c582 if (Z_OBJCE_P(struc) == zend_standard_class_def) { in php_var_export_ex()
585 smart_str_append(buf, Z_OBJCE_P(struc)->name); in php_var_export_ex()
599 if (Z_OBJCE_P(struc) == zend_standard_class_def) { in php_var_export_ex()
779 zend_type_error("%s::__serialize() must return an array", ZSTR_VAL(Z_OBJCE_P(obj)->name)); in php_var_serialize_call_magic_serialize()
820 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_get_sleep_props()
1011 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_intern()
1060 smart_str_append_unsigned(buf, ZSTR_LEN(Z_OBJCE_P(struc)->name)); in php_var_serialize_intern()
1062 smart_str_append(buf, Z_OBJCE_P(struc)->name); in php_var_serialize_intern()
/PHP-7.4/ext/intl/common/
H A Dcommon_date.cpp142 "initialized", func, ZSTR_VAL(Z_OBJCE_P(z)->name)); in intl_datetime_decompose()
202 if (instanceof_function(Z_OBJCE_P(z), php_date_get_interface_ce())) { in intl_zval_to_millis()
204 } else if (instanceof_function(Z_OBJCE_P(z), Calendar_ce_ptr)) { in intl_zval_to_millis()
/PHP-7.4/Zend/
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_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_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()
/PHP-7.4/ext/spl/
H A Dspl_observer.c1121 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_rewind, "… in SPL_METHOD()
1144 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_next, "ne… in SPL_METHOD()
1174 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_valid, "v… in SPL_METHOD()
1210 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_valid, "v… in spl_multiple_iterator_get_all()
1221 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_current, … in spl_multiple_iterator_get_all()
1223 …zend_call_method_with_0_params(it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs_ptr->zf_key, "key… in spl_multiple_iterator_get_all()
H A Dspl_iterators.c497 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
498 …zend_call_method_with_0_params(iterator, Z_OBJCE_P(iterator), &Z_OBJCE_P(iterator)->iterator_funcs… in spl_recursive_it_it_construct()
525 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct()
526 …zend_call_method_with_0_params(iterator, Z_OBJCE_P(iterator), &Z_OBJCE_P(iterator)->iterator_funcs… in spl_recursive_it_it_construct()
553 intern->ce = Z_OBJCE_P(object); in spl_recursive_it_it_construct()
1484 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1507 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct()
1919 spl_instantiate_arg_ex1(Z_OBJCE_P(ZEND_THIS), return_value, &retval); in SPL_METHOD()
2240 spl_instantiate_arg_n(Z_OBJCE_P(ZEND_THIS), return_value, 5, args); in SPL_METHOD()
3295 intern->inner.ce = Z_OBJCE_P(it); in spl_append_it_next_iterator()
[all …]
H A Dspl_array.c419 …zend_call_method_with_1_params(object, Z_OBJCE_P(object), &intern->fptr_offset_get, "offsetGet", r… in spl_array_read_dimension_ex()
465 …zend_call_method_with_2_params(object, Z_OBJCE_P(object), &intern->fptr_offset_set, "offsetSet", N… in spl_array_write_dimension_ex()
533 …zend_call_method_with_1_params(object, Z_OBJCE_P(object), &intern->fptr_offset_del, "offsetUnset",… in spl_array_unset_dimension_ex()
618 …zend_call_method_with_1_params(object, Z_OBJCE_P(object), &intern->fptr_offset_has, "offsetExists"… in spl_array_has_dimension_ex()
745 …not append properties to objects, use %s::offsetSet() instead", ZSTR_VAL(Z_OBJCE_P(object)->name)); in spl_array_iterator_append()
1125 ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array()
1642 if (instanceof_function(Z_OBJCE_P(entry), Z_OBJCE_P(ZEND_THIS))) { in SPL_METHOD()
1650 spl_instantiate_arg_ex2(Z_OBJCE_P(ZEND_THIS), return_value, entry, &flags); in SPL_METHOD()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_helpers.cpp74 instanceof_function_ex(Z_OBJCE_P(calendar_zv), in datefmt_process_calendar_arg()
H A Ddateformat_class.c87 new_obj = IntlDateFormatter_ce_ptr->create_object(Z_OBJCE_P(object)); in IntlDateFormatter_object_clone()
H A Ddateformat_format_object.cpp161 zend_class_entry *instance_ce = Z_OBJCE_P(object); in PHP_FUNCTION()
/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp101 …zend_call_method_with_1_params(ret, NULL, &Z_OBJCE_P(ret)->constructor, "__construct", NULL, &arg); in timezone_convert_to_datetimezone()
148 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()
236 ret_val = TimeZone_ce_ptr->create_object(Z_OBJCE_P(object)); in TimeZone_clone_obj()
/PHP-7.4/ext/intl/spoofchecker/
H A Dspoofchecker_class.c119 new_obj_val = Spoofchecker_ce_ptr->create_object(Z_OBJCE_P(object)); in spoofchecker_clone_obj()
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_class.c70 new_obj = MessageFormatter_ce_ptr->create_object(Z_OBJCE_P(object)); in MessageFormatter_object_clone()
/PHP-7.4/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.4/ext/intl/formatter/
H A Dformatter_class.c70 new_obj = NumberFormatter_ce_ptr->create_object(Z_OBJCE_P(object)); in NumberFormatter_object_clone()
/PHP-7.4/ext/json/
H A Djson_encoder.c473 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object()
566 if (instanceof_function(Z_OBJCE_P(val), php_json_serializable_ce)) { in php_json_encode_zval()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c2291 ce = Z_OBJCE_P(classref); in ZEND_METHOD()
2330 ce = Z_OBJCE_P(reference); in ZEND_METHOD()
2981 ce = Z_OBJCE_P(classname); in ZEND_METHOD()
3059 if (Z_OBJCE_P(obj) == zend_ce_closure && in ZEND_METHOD()
3098 ZSTR_VAL(Z_OBJCE_P(ZEND_THIS)->name)); in reflection_method_invoke()
3138 obj_ce = Z_OBJCE_P(object); in reflection_method_invoke()
3523 ce = Z_OBJCE_P(classname); in ZEND_METHOD()
3713 intern->ptr = Z_OBJCE_P(argument); in reflection_class_object_ctor()
4717 fcc.called_scope = Z_OBJCE_P(return_value); in ZEND_METHOD()
4819 fcc.called_scope = Z_OBJCE_P(return_value); in ZEND_METHOD()
[all …]
/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/com_dotnet/
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/intl/transliterator/
H A Dtransliterator_class.c142 ret_val = Transliterator_ce_ptr->create_object( Z_OBJCE_P( object ) ); in Transliterator_clone_obj()
/PHP-7.4/ext/mysqli/
H A Dphp_mysqli_structs.h230 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) { \
H A Dmysqli_nonapi.c91 if (object && instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) {
353 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) {
735 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
770 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {

Completed in 162 milliseconds

123