Home
last modified time | relevance | path

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

123

/PHP-7.1/ext/spl/tests/
H A Dclass_uses_basic.phpt6 * Description: Return all traits used by a class
H A Dclass_uses_variation2.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.1/Zend/tests/
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.1/Zend/tests/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 Dproperty001.phpt2 …operties should result in a strict notice. Property use is discorage for traits that are supposed …
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.1/Zend/tests/traits/bugs/
H A Dabstract-methods04.phpt3 implementstion may be provided by other traits. Sorting order shouldn't influence result.
/PHP-7.1/ext/standard/tests/class_object/
H A Dget_declared_traits_error_001.phpt6 * Description: Returns an array of all declared traits.
H A Dget_declared_traits_basic_001.phpt6 * Description: Returns an array of all declared traits.
/PHP-7.1/Zend/
H A Dzend_inheritance.c1078 if (ce->traits[i] == NULL) { in zend_do_implement_trait()
1079 memmove(ce->traits + i, ce->traits + i + 1, sizeof(zend_class_entry*) * (--ce->num_traits - i)); in zend_do_implement_trait()
1081 } else if (ce->traits[i] == trait) { in zend_do_implement_trait()
1090 …ce->traits = (zend_class_entry **) realloc(ce->traits, sizeof(zend_class_entry *) * (++current_tra… in zend_do_implement_trait()
1092 …ce->traits = (zend_class_entry **) erealloc(ce->traits, sizeof(zend_class_entry *) * (++current_tr… in zend_do_implement_trait()
1095 ce->traits[ce->num_traits++] = trait; in zend_do_implement_trait()
1338 if (ce->traits[i] == trait) { in zend_check_trait_usage()
1492 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->traits[i]->function_table, key, fn) { in zend_do_traits_method_binding()
1533 if (zend_hash_exists(&ce->traits[i]->properties_info, prop_name)) { in find_first_definition()
1534 return ce->traits[i]; in find_first_definition()
[all …]
H A Dzend.h162 zend_class_entry **traits; member
H A Dzend_opcode.c195 if (ce->num_traits > 0 && ce->traits) { in _destroy_zend_class_traits_info()
196 efree(ce->traits); in _destroy_zend_class_traits_info()
H A Dzend_compile.c1792 ce->traits = NULL; in zend_initialize_class_data()
5829 zend_ast_list *traits = zend_ast_get_list(ast->child[0]); in zend_compile_use_trait() local
5835 for (i = 0; i < traits->children; ++i) { in zend_compile_use_trait()
5836 zend_ast *trait_ast = traits->child[i]; in zend_compile_use_trait()
6085 ce->traits = NULL; in zend_compile_class_decl()
/PHP-7.1/ext/spl/
H A Dspl_functions.c111 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags); in spl_add_traits()
/PHP-7.1/ext/opcache/
H A Dzend_persist.c725 if (ce->num_traits && ce->traits) { in zend_persist_class_entry()
726 efree(ce->traits); in zend_persist_class_entry()
728 ce->traits = NULL; in zend_persist_class_entry()

Completed in 69 milliseconds

123