On Sat Dec 18 12:33 PM, Stefan Marr wrote: > Hi Jonathan: > > On 18 Dec 2010, at 18:14, Jonathan Bond-Caron wrote: > > > Does the order of the declaration matter? > No, the order does not matter, and that is one of the key points of > traits compared to mixins or Python's way of multiple inheritance. > So, any kind of order-dependent solution would be inconsistent with > the design of traits. > > > though I'd be happy with simply E_FATAL until people start using > > traits > What do you mean by the second part? (until people start using traits) > Changing the design retrospectively does not seem to be the best > option? >
Most likely not the best option, I think I'm saying I prefer E_FATAL But if users find it too restrictive / problematic, the auto-resolution "merge to the most restrictive modifier" could be added in a next release or an approach that's convenient to the code out there using traits & properties. That seems better than the other way around. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php