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

/PHP_TRUNK/Zend/
H A Dzend.h174 zend_class_entry **traits; member in struct:_zend_class_entry
H A Dzend_compile.c1123 /* Classes with traits are handled exactly the same, no early-bind here */
1275 /* For traits self etc refers to the using class, not the trait itself */
1632 ce->traits = NULL;
5042 zend_ast_list *traits = zend_ast_get_list(ast->child[0]); local
5048 for (i = 0; i < traits->children; ++i) {
5049 zend_ast *trait_ast = traits->child[i];
5053 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use traits inside of interfaces. "
5259 /* For traits this check is delayed until after trait binding */
5298 /* Check for traits and proceed like with interfaces.
5302 ce->traits
[all...]

Completed in 13 milliseconds