Searched defs:parent_ce (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dspl_functions.c56 PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, const zend_function_entry * function_list) argument
61 *ppce = zend_register_internal_class_ex(&ce, parent_ce);
67 (*ppce)->create_object = parent_ce->create_object;
/PHP_TRUNK/Zend/
H A Dzend_inheritance.c641 zend_class_entry *parent_ce = ce->parent; local
662 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name->val, key->val,
672 zend_error_noreturn(E_COMPILE_ERROR, "Access level to %s::$%s must be %s (as in class %s)%s", ce->name->val, key->val, zend_visibility_string(parent_info->flags), parent_ce->name->val, (parent_info->flags&ZEND_ACC_PUBLIC) ? "" : " or weaker");
738 # define zval_property_ctor(parent_ce, ce) \
739 (((parent_ce)->type != (ce)->type) ? ZVAL_COPY_CTOR : zval_add_ref)
741 # define zval_property_ctor(parent_ce, ce) \
745 static void do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce) /* {{{ */ argument
748 if (parent_ce->type == ZEND_INTERNAL_CLASS) {
763 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) /* {{{ */ argument
772 if (!(parent_ce
[all...]
H A Dzend_API.c2480 /* If parent_ce is not NULL then it inherits from parent_ce
2481 * If parent_ce is NULL and parent_name isn't then it looks for the parent and inherits from it
2482 * If both parent_ce and parent_name are NULL it does a regular class registration
2485 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce) /* {{{ */ argument
2491 if (parent_ce) {
2492 zend_do_inheritance(register_class, parent_ce);
H A Dzend_compile.c962 ZEND_API zend_class_entry *do_bind_inherited_class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time) /* {{{ */ argument
989 zend_do_inheritance(ce, parent_ce);

Completed in 22 milliseconds