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 TSRMLS_CC);
67 (*ppce)->create_object = parent_ce->create_object;
/PHP_TRUNK/Zend/
H A Dzend_compile.c960 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 TSRMLS_DC) /* {{{ */ argument
987 if (parent_ce->ce_flags & ZEND_ACC_INTERFACE) {
988 zend_error_noreturn(E_COMPILE_ERROR, "Class %s cannot extend from interface %s", ce->name->val, parent_ce->name->val);
989 } else if ((parent_ce->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) {
990 zend_error_noreturn(E_COMPILE_ERROR, "Class %s cannot extend from trait %s", ce->name->val, parent_ce->name->val);
993 zend_do_inheritance(ce, parent_ce TSRMLS_CC);
H A Dzend_inheritance.c572 zend_class_entry *parent_ce = ce->parent; local
593 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name->val, key->val,
603 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");
669 # define zval_property_ctor(parent_ce, ce) \
670 (((parent_ce)->type != (ce)->type) ? ZVAL_COPY_CTOR : zval_add_ref)
672 # define zval_property_ctor(parent_ce, ce) \
676 static void do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) /* {{{ */
679 if (parent_ce->type == ZEND_INTERNAL_CLASS) {
694 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) /* {{{ */
702 && !(parent_ce
[all...]

Completed in 15 milliseconds