On Jul 22, 2011, at 9:32 AM, Alex Howansky wrote: > >> Just curious, if the trait property is set to private what happens? > > Ooh, good question. > > PHP Fatal error: baz and foo define the same property ($zoo) in the > composition of baz. However, the definition differs and is considered > incompatible.
And while people have traits on the mind, please also review the three open bug reports which also discuss how trait behavior should be defined: https://bugs.php.net/search.php?search_for=trait&cmd=display Regards, Philip -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php