Home
last modified time | relevance | path

Searched refs:traits (Results 26 – 50 of 51) sorted by relevance

123

/PHP-7.4/Zend/tests/traits/
H A Dconflict001.phpt2 Method conflict in traits
H A Dbug55554f.phpt27 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
H A Dbug55554g.phpt27 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
H A Dbug60217b.phpt2 Bug #60217 (Requiring the same method from different traits and abstract methods have to be compati…
H A Dbug64235.phpt34 Fatal error: Class TestParentClass is not a trait, Only traits may be used in 'as' and 'insteadof' …
H A Dbug64235b.phpt35 Fatal error: Class TestParentClass is not a trait, Only traits may be used in 'as' and 'insteadof' …
H A Dbug60217c.phpt2 Bug #60217 (Requiring the same method from different traits and abstract methods have to be compati…
H A Dbug55554c.phpt8 // Here, the traits conflicts are overridden by local definitions,
H A Dbug55554b.phpt55 Fatal error: ReportCollision has colliding constructor definitions coming from traits in %s on line…
H A Dbug60717.phpt2 Bug #60717 (Order of traits in use statement can cause unexpected unresolved abstract method)
H A Dbug61998.phpt2 Bug #61998 (Using traits with method aliases appears to result in crash during execution)
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_026.phpt2 Test typed properties inherit traits with typed properties
H A Dtyped_properties_085.phpt2 Important properties with different types from traits
/PHP-7.4/Zend/tests/
H A Dbug62358.phpt2 Bug #62358 (Segfault when using traits a lot)
H A Dbug62907.phpt2 Bug #62907 (Double free when use traits)
H A Dbug63305.phpt2 Bug #63305 (zend_mm_heap corrupted with traits)
H A Dbug75079_2.phpt2 Bug #75079 variation without traits
H A Dbug53748.phpt2 Bug #53748 (Using traits lead to a segmentation fault)
/PHP-7.4/ext/spl/tests/
H A Dclass_uses_basic.phpt6 * Description: Return all traits used by a class
H A Dclass_uses_variation1.phpt6 * Description: Return all traits used by a class
/PHP-7.4/Zend/tests/traits/bugs/
H A Dabstract-methods04.phpt3 implementstion may be provided by other traits. Sorting order shouldn't influence result.
/PHP-7.4/Zend/
H A Dzend_inheritance.c1744 if (traits[i] == trait) { in zend_check_trait_usage()
1778 zend_check_trait_usage(ce, trait, traits); in zend_traits_init_trait_structures()
1873 if (traits[i]) { in zend_do_traits_method_binding()
1888 if (traits[i]) { in zend_do_traits_method_binding()
1913 if (traits[i] in find_first_definition()
1915 return traits[i]; in find_first_definition()
1942 if (!traits[i]) { in zend_do_traits_property_binding()
2098 zend_class_entry **traits, *trait; in zend_do_bind_traits() local
2116 if (traits[j] == trait) { in zend_do_bind_traits()
2122 traits[i] = trait; in zend_do_bind_traits()
[all …]
H A Dzend_compile.c6298 zend_ast_list *traits = zend_ast_get_list(ast->child[0]); in zend_compile_use_trait() local
6304 …ce->trait_names = erealloc(ce->trait_names, sizeof(zend_class_name) * (ce->num_traits + traits->ch… in zend_compile_use_trait()
6306 for (i = 0; i < traits->children; ++i) { in zend_compile_use_trait()
6307 zend_ast *trait_ast = traits->child[i]; in zend_compile_use_trait()
/PHP-7.4/ext/standard/tests/class_object/
H A Dget_declared_traits_basic_001.phpt6 * Description: Returns an array of all declared traits.
/PHP-7.4/
H A DUPGRADING.INTERNALS163 about interfaces and traits is kept in zend_class_entry structure and

Completed in 69 milliseconds

123