Searched defs:traits (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend.h517 zend_class_entry **traits; member in struct:_zend_class_entry
H A Dzend_compile.c1853 if (ce->traits[i] == NULL) {
1854 memmove(ce->traits + i, ce->traits + i + 1, sizeof(zend_class_entry*) * (--ce->num_traits - i));
1856 } else if (ce->traits[i] == trait) {
1865 ce->traits = (zend_class_entry **) realloc(ce->traits, sizeof(zend_class_entry *) * (++current_trait_num));
1867 ce->traits = (zend_class_entry **) erealloc(ce->traits, sizeof(zend_class_entry *) * (++current_trait_num));
1870 ce->traits[ce->num_traits++] = trait;
1893 zend_error_noreturn(E_COMPILE_ERROR, "%s has colliding constructor definitions coming from traits", c
5830 zend_ast_list *traits = zend_ast_get_list(ast->child[0]); local
[all...]

Completed in 11 milliseconds