Searched defs:parent_ce (Results 1 - 3 of 3) 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 TSRMLS_DC) argument
61 *ppce = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
67 (*ppce)->create_object = parent_ce->create_object;
/PHP_TRUNK/Zend/
H A Dzend_API.c2531 /* If parent_ce is not NULL then it inherits from parent_ce
2532 * If parent_ce is NULL and parent_name isn't then it looks for the parent and inherits from it
2533 * If both parent_ce and parent_name are NULL it does a regular class registration
2536 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) /* {{{ */ argument
2540 if (!parent_ce && parent_name) {
2545 parent_ce = *pce;
2551 if (parent_ce) {
2552 zend_do_inheritance(register_class, parent_ce TSRMLS_CC);
H A Dzend_compile.c3622 zend_class_entry *parent_ce = ce->parent; local
3643 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arKey,
3653 zend_error_noreturn(E_COMPILE_ERROR, "Access level to %s::$%s must be %s (as in class %s)%s", ce->name, hash_key->arKey, zend_visibility_string(parent_info->flags), parent_ce->name, (parent_info->flags&ZEND_ACC_PUBLIC) ? "" : " or weaker");
3725 # define zval_property_ctor(parent_ce, ce) \
3726 ((void (*)(void *)) (((parent_ce)->type != (ce)->type) ? zval_internal_ctor : zval_add_ref))
3728 # define zval_property_ctor(parent_ce, ce) \
3732 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) /* {{{ */
3737 && !(parent_ce->ce_flags & ZEND_ACC_INTERFACE)) {
3738 zend_error_noreturn(E_COMPILE_ERROR, "Interface %s may not inherit from class (%s)", ce->name, parent_ce->name);
3740 if (parent_ce
4692 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 TSRMLS_DC) argument
[all...]

Completed in 18 milliseconds