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

/PHP_5_4/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_5_4/Zend/
H A Dzend_API.c2456 /* If parent_ce is not NULL then it inherits from parent_ce
2457 * If parent_ce is NULL and parent_name isn't then it looks for the parent and inherits from it
2458 * If both parent_ce and parent_name are NULL it does a regular class registration
2461 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
2465 if (!parent_ce && parent_name) {
2470 parent_ce = *pce;
2476 if (parent_ce) {
2477 zend_do_inheritance(register_class, parent_ce TSRMLS_CC);
H A Dzend_compile.c3305 zend_class_entry *parent_ce = ce->parent; local
3326 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arKey,
3336 zend_error(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");
3408 # define zval_property_ctor(parent_ce, ce) \
3409 ((void (*)(void *)) (((parent_ce)->type != (ce)->type) ? zval_internal_ctor : zval_add_ref))
3411 # define zval_property_ctor(parent_ce, ce) \
3415 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) /* {{{ */
3420 && !(parent_ce->ce_flags & ZEND_ACC_INTERFACE)) {
3421 zend_error(E_COMPILE_ERROR, "Interface %s may not inherit from class (%s)", ce->name, parent_ce->name);
3423 if (parent_ce
4378 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