Searched refs:trait (Results 226 – 231 of 231) sorted by relevance
12345678910
/PHP-7.3/ext/spl/tests/ |
H A D | class_uses_variation2.phpt | 13 trait foo {}
|
/PHP-7.3/ |
H A D | UPGRADING.INTERNALS | 165 trait. These instructions are executed once, and caching is useless.
|
H A D | NEWS | 606 . Fixed bug #78787 (Segfault with trait overriding inherited private shadow 1291 . Fixed bug #77291 (magic methods inherited from a trait may be ignored). 1403 . Fixed bug #63911 (identical trait methods raise errors during composition). 2399 . Fixed bug #74269 (It's possible to override trait property with different
|
/PHP-7.3/Zend/ |
H A D | zend_vm_def.h | 6874 zend_class_entry *trait; variable 6877 trait = zend_fetch_class_by_name(Z_STR_P(RT_CONSTANT(opline, opline->op2)), 6880 if (UNEXPECTED(trait == NULL)) { 6884 if (!(trait->ce_flags & ZEND_ACC_TRAIT)) { 6885 …return(E_ERROR, "%s cannot use %s - it is not a trait", ZSTR_VAL(ce->name), ZSTR_VAL(trait->name)); 6888 zend_do_implement_trait(ce, trait);
|
H A D | zend_vm_execute.h | 1657 zend_class_entry *trait; local 1660 trait = zend_fetch_class_by_name(Z_STR_P(RT_CONSTANT(opline, opline->op2)), 1663 if (UNEXPECTED(trait == NULL)) { 1667 if (!(trait->ce_flags & ZEND_ACC_TRAIT)) { 1668 …return(E_ERROR, "%s cannot use %s - it is not a trait", ZSTR_VAL(ce->name), ZSTR_VAL(trait->name)); 1671 zend_do_implement_trait(ce, trait);
|
/PHP-7.3/ext/reflection/ |
H A D | php_reflection.c | 4920 zval trait; in ZEND_METHOD() local 4921 zend_reflection_class_factory(ce->traits[i], &trait); in ZEND_METHOD() 4922 zend_hash_update(Z_ARRVAL_P(return_value), ce->traits[i]->name, &trait); in ZEND_METHOD()
|
Completed in 203 milliseconds
12345678910