Searched refs:class_entry (Results 1 - 12 of 12) sorted by relevance

/PHP_5_5/ext/spl/
H A Dspl_functions.c73 void spl_register_property( zend_class_entry * class_entry, char *prop_name, int prop_name_len, int prop_flags TSRMLS_DC) argument
75 zend_declare_property_null(class_entry, prop_name, prop_name_len, prop_flags TSRMLS_CC);
H A Dspl_functions.h56 void spl_register_property( zend_class_entry * class_entry, char *prop_name, int prop_name_len, int prop_flags TSRMLS_DC);
/PHP_5_5/Zend/
H A Dzend_API.c2494 zend_class_entry *class_entry = malloc(sizeof(zend_class_entry)); local
2496 *class_entry = *orig_class_entry;
2498 class_entry->type = ZEND_INTERNAL_CLASS;
2499 zend_initialize_class_data(class_entry, 0 TSRMLS_CC);
2500 class_entry->ce_flags = ce_flags;
2501 class_entry->info.internal.module = EG(current_module);
2503 if (class_entry->info.internal.builtin_functions) {
2504 zend_register_functions(class_entry, class_entry->info.internal.builtin_functions, &class_entry
2510 zend_hash_quick_update(CG(class_table), lowercase_name, class_entry->name_length+1, INTERNED_HASH(lowercase_name), &class_entry, sizeof(zend_class_entry *), NULL); local
2512 zend_hash_update(CG(class_table), lowercase_name, class_entry->name_length+1, &class_entry, sizeof(zend_class_entry *), NULL); local
2524 zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name TSRMLS_DC) argument
[all...]
H A Dzend_API.h276 ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry TSRMLS_DC);
277 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name TSRMLS_DC);
279 ZEND_API void zend_class_implements(zend_class_entry *class_entry TSRMLS_DC, int num_interfaces, ...);
H A Dzend_execute.h47 zend_class_entry *class_entry; member in union:_temp_variable
H A Dzend_builtin_functions.c315 zend_class_entry class_entry; local
317 INIT_CLASS_ENTRY(class_entry, "stdClass", NULL);
318 zend_standard_class_def = zend_register_internal_class(&class_entry TSRMLS_CC);
H A Dzend_opcode.c792 int print_class(zend_class_entry *class_entry TSRMLS_DC)
794 printf("Class %s:\n", class_entry->name);
795 zend_hash_apply(&class_entry->function_table, (apply_func_t) pass_two TSRMLS_CC);
796 printf("End of class %s.\n\n", class_entry->name);
H A Dzend_vm_def.h1041 ce = EX_T(opline->op2.var).class_entry;
2381 EX_T(opline->result.var).class_entry = zend_fetch_class(NULL, 0, opline->extended_value TSRMLS_CC);
2390 EX_T(opline->result.var).class_entry = CACHED_PTR(opline->op2.literal->cache_slot);
2392 EX_T(opline->result.var).class_entry = zend_fetch_class_by_name(Z_STRVAL_P(class_name), Z_STRLEN_P(class_name), opline->op2.literal + 1, opline->extended_value TSRMLS_CC);
2393 CACHE_PTR(opline->op2.literal->cache_slot, EX_T(opline->result.var).class_entry);
2396 EX_T(opline->result.var).class_entry = Z_OBJCE_P(class_name);
2398 EX_T(opline->result.var).class_entry = zend_fetch_class(Z_STRVAL_P(class_name), Z_STRLEN_P(class_name), opline->extended_value TSRMLS_CC);
2518 ce = EX_T(opline->op1.var).class_entry;
3368 if (UNEXPECTED((EX_T(opline->op1.var).class_entry->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) != 0)) {
3369 if (EX_T(opline->op1.var).class_entry
[all...]
H A Dzend_vm_execute.h748 if (UNEXPECTED((EX_T(opline->op1.var).class_entry->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) != 0)) {
749 if (EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_INTERFACE) {
750 zend_error_noreturn(E_ERROR, "Cannot instantiate interface %s", EX_T(opline->op1.var).class_entry->name);
751 } else if ((EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) {
752 zend_error_noreturn(E_ERROR, "Cannot instantiate trait %s", EX_T(opline->op1.var).class_entry->name);
754 zend_error_noreturn(E_ERROR, "Cannot instantiate abstract class %s", EX_T(opline->op1.var).class_entry->name);
758 object_init_ex(object_zval, EX_T(opline->op1.var).class_entry);
781 call->called_scope = EX_T(opline->op1.var).class_entry;
874 EX_T(opline->result.var).class_entry = do_bind_class(EX(op_array), opline, EG(class_table), 0 TSRMLS_CC);
884 EX_T(opline->result.var).class_entry
[all...]
H A Dzend_compile.h688 int print_class(zend_class_entry *class_entry TSRMLS_DC);
/PHP_5_5/ext/opcache/
H A Dzend_accelerator_module.c302 do_bind_inherited_class(EX(opline), EG(class_table), EX_T(EX(opline)->extended_value).class_entry, 0 TSRMLS_CC);
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c245 static void reflection_register_implement(zend_class_entry *class_entry, zend_class_entry *interface_entry TSRMLS_DC) /* {{{ */ argument
247 zend_uint num_interfaces = ++class_entry->num_interfaces;
249 class_entry->interfaces = (zend_class_entry **) realloc(class_entry->interfaces, sizeof(zend_class_entry *) * num_interfaces);
250 class_entry->interfaces[num_interfaces - 1] = interface_entry;

Completed in 77 milliseconds