/PHP-8.0/Zend/ |
H A D | zend.h | 154 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref); 155 zend_function *(*get_static_method)(zend_class_entry *ce, zend_string* method); 159 …int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, z…
|
H A D | zend_execute.c | 854 zend_class_entry *ce; in zend_check_and_resolve_property_class_type() local 860 ce = resolve_single_class_type(name, info->ce); in zend_check_and_resolve_property_class_type() 861 if (!ce) { in zend_check_and_resolve_property_class_type() 877 ce = resolve_single_class_type(name, info->ce); in zend_check_and_resolve_property_class_type() 966 zend_class_entry *ce; in zend_check_type_slow() local 971 ce = *cache_slot; in zend_check_type_slow() 975 if (!ce) { in zend_check_type_slow() 982 *cache_slot = ce; in zend_check_type_slow() 2330 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local 2341 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local [all …]
|
H A D | zend_execute.h | 370 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument 371 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \ 375 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument 377 slot[0] = (ce); \ 388 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument 389 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL) 391 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument 392 (slot)[0] = (ce); \ 420 #define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) == ZEND_ACC_HAS_TYP… argument
|
H A D | zend_generators.c | 1118 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in zend_generator_get_iterator() argument 1145 zend_class_entry ce; in zend_register_generator_ce() local 1147 INIT_CLASS_ENTRY(ce, "Generator", class_Generator_methods); in zend_register_generator_ce() 1148 zend_ce_generator = zend_register_internal_class(&ce); in zend_register_generator_ce() 1165 INIT_CLASS_ENTRY(ce, "ClosedGeneratorException", NULL); in zend_register_generator_ce() 1166 zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_generator_ce()
|
H A D | zend_exceptions.c | 160 DTRACE_EXCEPTION_THROWN(ZSTR_VAL(exception->ce->name)); in zend_throw_exception_internal() 183 …if (exception && (exception->ce == zend_ce_parse_error || exception->ce == zend_ce_compile_error))… in zend_throw_exception_internal() 747 static void declare_exception_properties(zend_class_entry *ce) in declare_exception_properties() argument 770 zend_class_entry ce; in zend_register_default_exception() local 778 INIT_CLASS_ENTRY(ce, "Exception", class_Exception_methods); in zend_register_default_exception() 789 INIT_CLASS_ENTRY(ce, "Error", class_Error_methods); in zend_register_default_exception() 790 zend_ce_error = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception() 803 INIT_CLASS_ENTRY(ce, "TypeError", class_TypeError_methods); in zend_register_default_exception() 825 INIT_CLASS_ENTRY(ce, "UnhandledMatchError", NULL); in zend_register_default_exception() 929 ce_exception = ex->ce; in zend_exception_error() [all …]
|
H A D | zend_vm_execute.h | 2192 if (!ce || !ce->get_iterator) { in ZEND_SEND_UNPACK_SPEC_HANDLER() 2196 iter = ce->get_iterator(ce, args, 0); in ZEND_SEND_UNPACK_SPEC_HANDLER() 2543 if (!ce || !ce->get_iterator) { in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER() 2546 iter = ce->get_iterator(ce, op1, 0); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER() 4478 ce = EG(exception)->ce; in ZEND_CATCH_SPEC_CONST_HANDLER() 4592 ce = zobj->ce; in ZEND_CLONE_SPEC_CONST_HANDLER() 6655 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 14230 ce = zobj->ce; in ZEND_CLONE_SPEC_TMPVAR_HANDLER() 15887 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); in ZEND_INSTANCEOF_SPEC_TMPVAR_CONST_HANDLER() 31323 ce = zobj->ce; in ZEND_CLONE_SPEC_UNUSED_HANDLER() [all …]
|
H A D | zend_vm_def.h | 3633 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); 4583 ce = EG(exception)->ce; 5106 if (!ce || !ce->get_iterator) { 5110 iter = ce->get_iterator(ce, args, 0); 5778 ce = zobj->ce; 6024 if (!ce || !ce->get_iterator) { 6027 iter = ce->get_iterator(ce, op1, 0); 7568 if (ce == NULL) { 7616 ce = Z_CE_P(zv); 7684 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); [all …]
|
/PHP-8.0/ext/zend_test/ |
H A D | test.c | 329 fptr->scope = (*object)->ce; in zend_test_class_method_get() 338 static zend_function *zend_test_class_static_method_get(zend_class_entry *ce, zend_string *name) /*… in zend_test_class_static_method_get() argument 350 fptr->scope = ce; in zend_test_class_static_method_get() 357 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get() 609 …!-- Exception: %s -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(EG(exception)->ce->name)); in observer_end()
|
/PHP-8.0/ext/xmlreader/ |
H A D | php_xmlreader.c | 1173 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 1185 INIT_CLASS_ENTRY(ce, "XMLReader", class_XMLReader_methods); in PHP_MINIT_FUNCTION() 1186 ce.create_object = xmlreader_objects_new; in PHP_MINIT_FUNCTION() 1187 xmlreader_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/xsl/ |
H A D | xsltprocessor.c | 562 zend_class_entry *curce, *ce; in PHP_METHOD() local 571 ce = zend_lookup_class(ret_class); in PHP_METHOD() 572 if (ce == NULL || !instanceof_function(ce, curce)) { in PHP_METHOD() 580 object_init_ex(return_value, ce); in PHP_METHOD()
|
/PHP-8.0/ext/simplexml/ |
H A D | simplexml.c | 2205 zend_class_entry *parent = ce; in php_sxe_find_fptr_count() 2239 zend_object_std_init(&intern->zo, ce); in php_sxe_object_new() 2249 sxe_object_new(zend_class_entry *ce) in sxe_object_new() argument 2253 intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); in sxe_object_new() 2289 if (!ce) { in PHP_FUNCTION() 2290 ce = sxe_class_entry; in PHP_FUNCTION() 2344 if (!ce) { in PHP_FUNCTION() 2345 ce = sxe_class_entry; in PHP_FUNCTION() 2645 if (!ce) { in PHP_FUNCTION() 2646 ce = sxe_class_entry; in PHP_FUNCTION() [all …]
|
/PHP-8.0/ext/libxml/ |
H A D | php_libxml.h | 97 PHP_LIBXML_API zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export…
|
/PHP-8.0/ext/dom/ |
H A D | document.c | 2060 zend_class_entry *basece = dom_node_class_entry, *ce = NULL; in PHP_METHOD() local 2064 if (zend_parse_parameters(ZEND_NUM_ARGS(), "CC!", &basece, &ce) == FAILURE) { in PHP_METHOD() 2068 if (ce == NULL || instanceof_function(ce, basece)) { in PHP_METHOD() 2070 dom_set_doc_classmap(intern->document, basece, ce); in PHP_METHOD() 2074 …st be a class name derived from %s or null, %s given", ZSTR_VAL(basece->name), ZSTR_VAL(ce->name)); in PHP_METHOD()
|
/PHP-8.0/ext/openssl/ |
H A D | openssl.c | 1206 zend_class_entry ce; in PHP_INI_END() local 1207 INIT_CLASS_ENTRY(ce, "OpenSSLCertificate", class_OpenSSLCertificate_methods); in PHP_INI_END() 1208 php_openssl_certificate_ce = zend_register_internal_class(&ce); in PHP_INI_END()
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli.c | 533 zend_class_entry *ce,cex; in PHP_MINIT_FUNCTION() local 574 ce = mysqli_driver_class_entry; in PHP_MINIT_FUNCTION() 582 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION() 586 ce = mysqli_link_class_entry; in PHP_MINIT_FUNCTION() 611 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION() 633 ce = mysqli_stmt_class_entry; in PHP_MINIT_FUNCTION() 1158 zend_class_entry *ce = NULL; in php_mysqli_fetch_into_hash() local 1164 if (ce == NULL) { in php_mysqli_fetch_into_hash() 1204 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash() 1211 if (ce->constructor) { in php_mysqli_fetch_into_hash() [all …]
|
H A D | mysqli_nonapi.c | 742 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); 747 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); 777 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));
|
/PHP-8.0/ext/gd/ |
H A D | gd.c | 232 zend_class_entry ce; in php_gd_object_minit_helper() local 233 INIT_CLASS_ENTRY(ce, "GdImage", class_GdImage_methods); in php_gd_object_minit_helper() 234 gd_image_ce = zend_register_internal_class(&ce); in php_gd_object_minit_helper()
|
/PHP-8.0/ext/date/ |
H A D | php_date.c | 1580 zend_object_iterator *date_object_period_get_iterator(zend_class_entry *ce, zval *object, int by_re… in date_object_period_get_iterator() argument 1773 php_date_obj *new_obj = php_date_obj_from_obj(date_object_new_date(old_obj->std.ce)); in date_object_clone_date() 1908 php_timezone_obj *new_obj = php_timezone_obj_from_obj(date_object_new_timezone(old_obj->std.ce)); in date_object_clone_timezone() 2055 php_interval_obj *new_obj = php_interval_obj_from_obj(date_object_new_interval(old_obj->std.ce)); in date_object_clone_interval() 2131 php_period_obj *new_obj = php_period_obj_from_obj(date_object_new_period(old_obj->std.ce)); in date_object_clone_period() 2401 …php_date_instantiate(execute_data->This.value.ce ? execute_data->This.value.ce : date_ce_date, ret… in PHP_FUNCTION() 2423 …php_date_instantiate(execute_data->This.value.ce ? execute_data->This.value.ce : date_ce_immutable… in PHP_FUNCTION() 2485 …php_date_instantiate(execute_data->This.value.ce ? execute_data->This.value.ce : date_ce_date, ret… in PHP_METHOD() 2506 …php_date_instantiate(execute_data->This.value.ce ? execute_data->This.value.ce : date_ce_date, ret… in PHP_METHOD() 2527 …php_date_instantiate(execute_data->This.value.ce ? execute_data->This.value.ce : date_ce_immutable… in PHP_METHOD() [all …]
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 2618 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 2619 ce = op1_ssa->ce; in zend_jit() 2665 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 2666 ce = op1_ssa->ce; in zend_jit() 2705 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 2706 ce = op1_ssa->ce; in zend_jit() 3211 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 3212 ce = op1_ssa->ce; in zend_jit() 3351 ce = op1_ssa->ce; in zend_jit() 3474 ce = res_ssa->ce; in zend_jit() [all …]
|
H A D | zend_jit_trace.c | 842 if (tssa->var_info[ssa_var].ce != info->ce) { in zend_jit_trace_restrict_ssa_var_info() 855 tssa->var_info[ssa_var].ce = info->ce; in zend_jit_trace_restrict_ssa_var_info() 1439 ssa_var_info[i].ce = ce; in zend_jit_trace_build_tssa() 2141 ssa_var_info[v].ce = ce; in zend_jit_trace_build_tssa() 4457 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit_trace() 4458 ce = op1_ssa->ce; in zend_jit_trace() 4537 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit_trace() 4538 ce = op1_ssa->ce; in zend_jit_trace() 4607 ce = op1_ssa->ce; in zend_jit_trace() 5590 ce = op1_ssa->ce; in zend_jit_trace() [all …]
|
H A D | zend_jit_x86.dasc | 13028 (!on_this || info->ce != ce)) { 13039 if (!ce || (ce->ce_flags & ZEND_ACC_TRAIT)) { 13058 (!on_this || info->ce != ce)) { 13166 ssa->var_info[ssa_op->op1_use].ce = ce; 13573 ssa->var_info[ssa_op->op1_use].ce = ce; 13578 ssa->var_info[ssa_op->op1_def].ce = ce; 13965 ssa->var_info[ssa_op->op1_use].ce = ce; 13970 ssa->var_info[ssa_op->op1_def].ce = ce; 14309 ssa->var_info[ssa_op->op1_use].ce = ce; 14314 ssa->var_info[ssa_op->op1_def].ce = ce; [all …]
|
/PHP-8.0/ext/soap/ |
H A D | soap.c | 364 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 377 soap_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 381 soap_var_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 385 soap_server_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 393 soap_param_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 997 zend_class_entry *ce = NULL; in PHP_METHOD() local 1010 service->soap_class.ce = ce; in PHP_METHOD() 1068 ft = &service->soap_class.ce->function_table; in PHP_METHOD() 1406 Z_OBJCE_P(tmp_soap_p) == service->soap_class.ce) { 1414 object_init_ex(&tmp_soap, service->soap_class.ce); [all …]
|
/PHP-8.0/ext/session/ |
H A D | session.c | 2791 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 2808 INIT_CLASS_ENTRY(ce, PS_IFACE_NAME, class_SessionHandlerInterface_methods); in PHP_MINIT_FUNCTION() 2809 php_session_iface_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 2812 INIT_CLASS_ENTRY(ce, PS_SID_IFACE_NAME, class_SessionIdInterface_methods); in PHP_MINIT_FUNCTION() 2813 php_session_id_iface_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 2816 …INIT_CLASS_ENTRY(ce, PS_UPDATE_TIMESTAMP_IFACE_NAME, class_SessionUpdateTimestampHandlerInterface_… in PHP_MINIT_FUNCTION() 2817 php_session_update_timestamp_iface_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 2821 INIT_CLASS_ENTRY(ce, PS_CLASS_NAME, class_SessionHandler_methods); in PHP_MINIT_FUNCTION() 2822 php_session_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/opcache/ |
H A D | ZendAccelerator.c | 625 ce->name = new_interned_string(ce->name); in accel_copy_permanent_strings() 3449 if (ce->parent && (ce->ce_flags & ZEND_ACC_LINKED)) { 3629 if (!ce) { 3634 return ce; 3642 return ce; 3696 if (ce->trait_aliases || ce->trait_precedences) { 3984 ce = prop->ce; 3986 ce = prop->ce->parent; 3990 if (ce) { 3991 return ce; [all …]
|
/PHP-8.0/ext/gmp/ |
H A D | gmp.c | 245 static inline zend_object *gmp_create_object_ex(zend_class_entry *ce, mpz_ptr *gmpnum_target) /* {{… in gmp_create_object_ex() argument 247 gmp_object *intern = emalloc(sizeof(gmp_object) + zend_object_properties_size(ce)); in gmp_create_object_ex() 249 zend_object_std_init(&intern->std, ce); in gmp_create_object_ex() 250 object_properties_init(&intern->std, ce); in gmp_create_object_ex() 260 static zend_object *gmp_create_object(zend_class_entry *ce) /* {{{ */ in gmp_create_object() argument 263 return gmp_create_object_ex(ce, &gmpnum_dummy); in gmp_create_object() 322 gmp_object *new_object = GET_GMP_OBJECT_FROM_OBJ(gmp_create_object(obj->ce)); in gmp_clone_obj() 468 static int gmp_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf… in gmp_unserialize() argument
|