Home
last modified time | relevance | path

Searched refs:trait (Results 51 – 75 of 352) sorted by relevance

12345678910>>...15

/PHP-8.3/Zend/tests/traits/
H A Dconstant_017.phpt2 Referencing trait constants directly on calling \defined() returns false
6 trait TestTrait {
H A Dbug55355.phpt2 Bug #55355 (Abstract functions required by a trait are not correctly found when implemented in an a…
6 // A trait that has a abstract function
7 trait ATrait {
H A Dlanguage001.phpt2 Single Trait with simple trait method
7 trait THello {
H A Derror_008.phpt2 Trying to implement a trait
6 trait abc { }
H A Dconstant_015.phpt2 The same name constant of a trait used in a class that inherits a constant defined in a parent can …
6 trait TestTrait1 {
18 trait TestTrait2 {
H A Dabstract_method_8.phpt2 Abstract method in trait using "self"
6 trait T {
H A Derror_003.phpt2 Trying to use an interface as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_004.phpt2 Trying to use a class as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Dlanguage018.phpt5 trait T1 {
15 Fatal error: Cannot use "abstract" as method modifier in trait alias in %s on line %d
H A Derror_005.phpt2 Trying to use a final class as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_006.phpt2 Trying to use an abstract class as trait
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
/PHP-8.3/Zend/tests/anon/
H A D014.phpt2 anonymous class trait binding
5 trait TaskTrait {
/PHP-8.3/ext/spl/
H A Dspl_functions.c54 zend_class_entry *trait; in spl_add_traits() local
57 trait = zend_fetch_class_by_name(pce->trait_names[num_traits].name, in spl_add_traits()
59 ZEND_ASSERT(trait); in spl_add_traits()
60 spl_add_class_name(list, trait, allow, ce_flags); in spl_add_traits()
/PHP-8.3/Zend/tests/attributes/override/
H A D016.phpt2 #[\Override]: Declared abstract trait method.
6 trait T {
H A D009.phpt2 #[\Override]: On used trait with interface method.
6 trait T {
/PHP-8.3/Zend/tests/
H A Dctor_promotion_trait.phpt2 Constructor promotion can be used inside a trait
6 trait Test {
H A Dbug65419.phpt2 Bug #65419 (Inside trait, self::class != __CLASS__)
5 trait abc
H A Dspecial_name_error3.phpt2 Cannot use special class name as trait name
6 trait self {}
H A Dtrait_exists_002.phpt8 trait IFoo { }
10 trait ITest { }
H A Dgh12468_1.phpt2 GH-12468: Double-free of doc_comment when overriding static property via trait
5 trait T {
H A Dbug78787.phpt2 Bug #78787: Segfault with trait overriding inherited private shadow property
6 trait T {
H A Dstringable_trait_invalid.phpt2 __toString() from trait with invalid return type
6 trait T {
/PHP-8.3/Zend/tests/readonly_classes/
H A Dreadonly_trait.phpt6 readonly trait Foo
12 Parse error: syntax error, unexpected token "trait", expecting "abstract" or "final" or "readonly" …
/PHP-8.3/Zend/tests/traits/bugs/
H A Doverridding-static-property-with-doc-block.phpt5 trait MyTrait {
7 * trait comment
/PHP-8.3/Zend/tests/return_types/
H A D017.phpt2 Fully qualified classes in trait return types
8 trait Fooable {

Completed in 44 milliseconds

12345678910>>...15