/PHP-7.2/Zend/ |
H A D | zend_API.c | 682 if (ce) { in zend_parse_arg_impl() 1039 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters() 1071 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex() 1170 while (ce) { in zend_update_class_constants() 1172 if (prop_info->ce == ce) { in zend_update_class_constants() 1186 ce = ce->parent; in zend_update_class_constants() 2792 ce = zend_hash_add_ptr(CG(class_table), lcname, ce); in zend_register_class_alias_ex() 2794 if (ce) { in zend_register_class_alias_ex() 3749 …ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_… in zend_declare_property_ex() 3780 property_info->ce = ce; in zend_declare_property_ex() [all …]
|
H A D | zend_builtin_functions.c | 947 if (ce && ce->parent) { in ZEND_FUNCTION() 955 ce = Z_OBJ_P(arg)->ce; in ZEND_FUNCTION() 960 if (ce && ce->parent) { in ZEND_FUNCTION() 1005 if (!ce) { in is_a_impl() 1097 if (!ce) { in ZEND_FUNCTION() 1229 if (!ce) { in ZEND_FUNCTION() 1340 if (!ce) { in ZEND_FUNCTION() 1396 if (ce) { in ZEND_FUNCTION() 1432 if (ce) { in ZEND_FUNCTION() 1469 if (ce) { in ZEND_FUNCTION() [all …]
|
H A D | zend_object_handlers.h | 164 ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *functi… 165 ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_… 166 ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *prop… 168 ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zend_string *memb… 175 ZEND_API int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, zend_string *funct… 177 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); 181 ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_nam…
|
H A D | zend_objects.h | 28 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce); 30 ZEND_API zend_object *zend_objects_new(zend_class_entry *ce);
|
H A D | zend_exceptions.c | 277 zend_class_entry *ce; in ZEND_METHOD() local 280 ce = Z_OBJCE(EX(This)); in ZEND_METHOD() 282 ce = Z_CE(EX(This)); in ZEND_METHOD() 284 ce = base_ce; in ZEND_METHOD() 344 zend_class_entry *ce; in ZEND_METHOD() local 347 ce = Z_OBJCE(EX(This)); in ZEND_METHOD() 349 ce = Z_CE(EX(This)); in ZEND_METHOD() 351 ce = zend_ce_error_exception; in ZEND_METHOD() 820 zend_class_entry ce; in zend_register_default_exception() local 858 INIT_CLASS_ENTRY(ce, "ParseError", NULL); in zend_register_default_exception() [all …]
|
H A D | zend_objects_API.h | 82 static zend_always_inline size_t zend_object_properties_size(zend_class_entry *ce) in zend_object_properties_size() argument 85 (ce->default_properties_count - in zend_object_properties_size() 86 ((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1)); in zend_object_properties_size()
|
/PHP-7.2/ext/intl/dateformat/ |
H A D | dateformat_class.c | 60 zend_object *IntlDateFormatter_object_create(zend_class_entry *ce) in IntlDateFormatter_object_create() argument 64 intern = ecalloc( 1, sizeof(IntlDateFormatter_object) + zend_object_properties_size(ce)); in IntlDateFormatter_object_create() 66 zend_object_std_init( &intern->zo, ce ); in IntlDateFormatter_object_create() 67 object_properties_init(&intern->zo, ce); in IntlDateFormatter_object_create() 192 zend_class_entry ce; in dateformat_register_IntlDateFormatter_class() local 195 INIT_CLASS_ENTRY( ce, "IntlDateFormatter", IntlDateFormatter_class_functions ); in dateformat_register_IntlDateFormatter_class() 196 ce.create_object = IntlDateFormatter_object_create; in dateformat_register_IntlDateFormatter_class() 197 IntlDateFormatter_ce_ptr = zend_register_internal_class( &ce ); in dateformat_register_IntlDateFormatter_class()
|
/PHP-7.2/ |
H A D | .gdbinit | 410 set $ce = $arg0 411 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20 414 if $ce->ce_flags & 0x40 419 if $ce->parent != 0 433 set $ce = $ce->parent 437 set $ce = $arg0 440 set $ce = $ce->interfaces[0] 443 set $ce = 0 448 set $ce = $arg0 450 while $ce != 0 [all …]
|
/PHP-7.2/ext/dom/ |
H A D | php_dom.h | 127 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref); 128 …dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce); 132 #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \ argument 133 INIT_CLASS_ENTRY(ce, name, funcs); \ 134 ce.create_object = dom_objects_new; \ 135 entry = zend_register_internal_class_ex(&ce, parent_ce); 140 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\
|
/PHP-7.2/ext/mysqli/ |
H A D | php_mysqli_structs.h | 215 extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int… 230 zend_class_entry ce; \ 231 INIT_CLASS_ENTRY(ce, name,class_functions); \ 232 ce.create_object = mysqli_objects_new; \ 233 mysqli_entry = zend_register_internal_class(&ce); \ 258 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\ 263 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)… 272 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\ 277 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)… 287 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)… [all …]
|
/PHP-7.2/ext/reflection/tests/ |
H A D | bug43926.phpt | 25 $ce = $re->newInstance(); 42 print("Is? A ". ($ra->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof A) ? … 43 print("Is? C ". ($rc->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof C) ? … 44 print("Is? D ". ($rd->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof D) ? … 45 print("Is? E ". ($re->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof E) ? …
|
/PHP-7.2/ext/com_dotnet/ |
H A D | php_com_dotnet_internal.h | 46 zend_class_entry *ce; member 61 zend_class_entry *ce = Z_OBJCE_P(zv); in php_com_is_valid_object() local 62 return strcmp("com", ce->name->val) == 0 || in php_com_is_valid_object() 63 strcmp("dotnet", ce->name->val) == 0 || in php_com_is_valid_object() 64 strcmp("variant", ce->name->val) == 0; in php_com_is_valid_object() 81 zend_object* php_com_object_new(zend_class_entry *ce); 88 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref); 184 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | com_extension.c | 356 zend_class_entry ce, *tmp; in PHP_MINIT_FUNCTION() local 363 INIT_CLASS_ENTRY(ce, "com_exception", NULL); in PHP_MINIT_FUNCTION() 368 INIT_CLASS_ENTRY(ce, "com_safearray_proxy", NULL); in PHP_MINIT_FUNCTION() 369 php_com_saproxy_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 374 INIT_CLASS_ENTRY(ce, "variant", NULL); in PHP_MINIT_FUNCTION() 375 ce.create_object = php_com_object_new; in PHP_MINIT_FUNCTION() 376 php_com_variant_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 381 INIT_CLASS_ENTRY(ce, "com", NULL); in PHP_MINIT_FUNCTION() 382 ce.create_object = php_com_object_new; in PHP_MINIT_FUNCTION() 391 INIT_CLASS_ENTRY(ce, "dotnet", NULL); in PHP_MINIT_FUNCTION() [all …]
|
H A D | com_misc.c | 57 obj->ce = php_com_variant_class_entry; in php_com_wrap_dispatch() 58 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_dispatch() 80 obj->ce = php_com_variant_class_entry; in php_com_wrap_variant() 81 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_variant()
|
/PHP-7.2/ext/xsl/ |
H A D | php_xsl.h | 88 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \ argument 89 INIT_CLASS_ENTRY(ce, name, funcs); \ 90 ce.create_object = xsl_objects_new; \ 91 entry = zend_register_internal_class_ex(&ce, parent_ce);
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_list.c | 91 zend_class_entry *ce; in PHPDBG_LIST() local 93 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_LIST() 97 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST() 113 zend_class_entry *ce; in PHPDBG_LIST() local 115 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_LIST() 116 if (ce->type == ZEND_USER_CLASS) { in PHPDBG_LIST() 117 if (ce->info.user.filename) { in PHPDBG_LIST() 118 …phpdbg_list_file(ce->info.user.filename, ce->info.user.line_end - ce->info.user.line_start + 1, ce… in PHPDBG_LIST() 120 …rce\" class=\"%s\"", "The source of the requested class (%s) cannot be found", ZSTR_VAL(ce->name)); in PHPDBG_LIST() 123 …internalclass\" class=\"%s\"", "The class requested (%s) is not user defined", ZSTR_VAL(ce->name)); in PHPDBG_LIST()
|
H A D | phpdbg_utils.c | 180 zend_class_entry *ce; in phpdbg_get_function() local 185 ce = zend_lookup_class(lcname); in phpdbg_get_function() 189 if (ce) { in phpdbg_get_function() 190 func = zend_hash_find_ptr(&ce->function_table, lfname); in phpdbg_get_function() 400 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup() 408 *ce = zend_lookup_class(str_name); in phpdbg_safe_class_lookup() 412 return *ce ? SUCCESS : FAILURE; in phpdbg_safe_class_lookup() 763 zend_class_entry *ce; in phpdbg_check_caught_ex() local 766 if (!(ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1))))) { in phpdbg_check_caught_ex() 768 CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1)), ce); in phpdbg_check_caught_ex() [all …]
|
/PHP-7.2/ext/intl/transliterator/ |
H A D | transliterator_class.c | 113 zend_class_entry *ce ) in Transliterator_object_create() argument 117 intern = ecalloc( 1, sizeof( Transliterator_object ) + zend_object_properties_size(ce)); in Transliterator_object_create() 119 zend_object_std_init( &intern->zo, ce ); in Transliterator_object_create() 120 object_properties_init( &intern->zo, ce ); in Transliterator_object_create() 334 zend_class_entry ce; in transliterator_register_Transliterator_class() local 337 INIT_CLASS_ENTRY( ce, "Transliterator", Transliterator_class_functions ); in transliterator_register_Transliterator_class() 338 ce.create_object = Transliterator_object_create; in transliterator_register_Transliterator_class() 339 Transliterator_ce_ptr = zend_register_internal_class( &ce ); in transliterator_register_Transliterator_class()
|
/PHP-7.2/ext/intl/common/ |
H A D | common_enum.cpp | 170 zend_class_entry *ce, zval *object, int by_ref) in IntlIterator_get_iterator() argument 191 static zend_object *IntlIterator_object_create(zend_class_entry *ce) in IntlIterator_object_create() argument 195 …intern = (IntlIterator_object*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->defaul… in IntlIterator_object_create() 197 zend_object_std_init(&intern->zo, ce); in IntlIterator_object_create() 198 object_properties_init(&intern->zo, ce); in IntlIterator_object_create() 314 zend_class_entry ce; in intl_register_IntlIterator_class() local 317 INIT_CLASS_ENTRY(ce, "IntlIterator", IntlIterator_class_functions); in intl_register_IntlIterator_class() 318 ce.create_object = IntlIterator_object_create; in intl_register_IntlIterator_class() 319 IntlIterator_ce_ptr = zend_register_internal_class(&ce); in intl_register_IntlIterator_class()
|
/PHP-7.2/ext/intl/calendar/ |
H A D | calendar_class.cpp | 47 zend_class_entry *ce; in calendar_object_create() local 51 ce = GregorianCalendar_ce_ptr; in calendar_object_create() 53 ce = Calendar_ce_ptr; in calendar_object_create() 56 object_init_ex(object, ce); in calendar_object_create() 250 static zend_object *Calendar_object_create(zend_class_entry *ce) in Calendar_object_create() argument 256 zend_object_std_init(&intern->zo, ce); in Calendar_object_create() 257 object_properties_init(&intern->zo, ce); in Calendar_object_create() 453 zend_class_entry ce; in calendar_register_IntlCalendar_class() local 456 INIT_CLASS_ENTRY(ce, "IntlCalendar", Calendar_class_functions); in calendar_register_IntlCalendar_class() 457 ce.create_object = Calendar_object_create; in calendar_register_IntlCalendar_class() [all …]
|
/PHP-7.2/ext/intl/locale/ |
H A D | locale_class.c | 105 zend_class_entry ce; in locale_register_Locale_class() local 108 INIT_CLASS_ENTRY( ce, "Locale", Locale_class_functions ); in locale_register_Locale_class() 109 ce.create_object = NULL; in locale_register_Locale_class() 110 Locale_ce_ptr = zend_register_internal_class( &ce ); in locale_register_Locale_class()
|
/PHP-7.2/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 56 static zend_object *ResourceBundle_object_create( zend_class_entry *ce ) in ResourceBundle_object_create() argument 60 rb = ecalloc( 1, sizeof(ResourceBundle_object) + zend_object_properties_size(ce)); in ResourceBundle_object_create() 62 zend_object_std_init( &rb->zend, ce ); in ResourceBundle_object_create() 63 object_properties_init( &rb->zend, ce); in ResourceBundle_object_create() 440 zend_class_entry ce; in resourcebundle_register_class() local 442 INIT_CLASS_ENTRY( ce, "ResourceBundle", ResourceBundle_class_functions ); in resourcebundle_register_class() 444 ce.create_object = ResourceBundle_object_create; in resourcebundle_register_class() 445 ce.get_iterator = resourcebundle_get_iterator; in resourcebundle_register_class() 447 ResourceBundle_ce_ptr = zend_register_internal_class( &ce ); in resourcebundle_register_class()
|
/PHP-7.2/ext/spl/ |
H A D | php_spl.c | 65 zend_class_entry *ce; in spl_find_ce_by_name() local 76 if (ce == NULL) { in spl_find_ce_by_name() 81 return ce; in spl_find_ce_by_name() 106 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 124 zend_class_entry *ce; in PHP_FUNCTION() local 139 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 153 zend_class_entry *ce; in PHP_FUNCTION() local 168 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 370 zend_class_entry *ce; member 438 if (alfi->ce && in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | zend_optimizer.c | 818 zend_class_entry *ce; in get_class_entry_from_op1() local 820 return ce; in get_class_entry_from_op1() 823 return ce; in get_class_entry_from_op1() 827 return ce; in get_class_entry_from_op1() 883 if (ce) { in zend_optimizer_get_called_func() 911 if (ce && ce->type == ZEND_USER_CLASS) { in zend_optimizer_get_called_func() 912 return ce->constructor; in zend_optimizer_get_called_func() 1194 zend_class_entry *ce; in zend_optimize_script() local 1216 if (op_array->scope == ce) { in zend_optimize_script() 1312 if (op_array->scope != ce) { in zend_optimize_script() [all …]
|
/PHP-7.2/ext/pdo/ |
H A D | pdo_stmt.c | 721 zend_class_entry *ce = stmt->fetch.cls.ce; in do_fetch_class_prepare() local 727 if (!ce) { in do_fetch_class_prepare() 732 if (ce->constructor) { in do_fetch_class_prepare() 744 fcc->called_scope = ce; in do_fetch_class_prepare() 930 ce = stmt->fetch.cls.ce; in do_fetch() 931 if (!ce) { in do_fetch() 1106 if (!ce->unserialize) { in do_fetch() 1308 old_ce = stmt->fetch.cls.ce; in PHP_METHOD() 1324 if (!stmt->fetch.cls.ce) { in PHP_METHOD() 1340 stmt->fetch.cls.ce = old_ce; in PHP_METHOD() [all …]
|