Re: [PHP-DEV] Grafts, Traits, horizontal reuse

2009-04-17 Thread Stefan Marr
Hi Tom, On 17 Apr 2009, at 19:20, Tom Boutell wrote: How ever, there are also corner cases. (Behavior might be different in case of name clashes for dynamically created properties within a composition, changing behavior depending on the order of method invocations on a single object) I'm

Re: [PHP-DEV] Grafts, Traits, horizontal reuse

2009-04-17 Thread Tom Boutell
On Fri, Apr 17, 2009 at 10:16 AM, Stefan Marr wrote: > For the sake of simplicity, we might discuss a very basic solution. > It would be possible to introduce trait-local state only. > Thus, all properties defined in a trait are only available within methods of > the same trait, > no other operat

Re: [PHP-DEV] Grafts, Traits, horizontal reuse

2009-04-17 Thread Stefan Marr
Hi Tom, On 15 Apr 2009, at 16:13, Tom Boutell wrote: PHP needs "real" horizontal reuse, no question. Looking forward to get this discussion running once again after 5.3 is released :) My first reaction to traits was positive - it's simple and simple is good. However I'm very concerned abo

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_language_scanner.c zend_language_scanner.l

2009-04-17 Thread Hannes Magnusson
On Fri, Jan 2, 2009 at 00:40, Johannes Schlüter wrote: > On Thu, 2009-01-01 at 15:46 -0500, Ilia Alshanetsky wrote: >> Nuno, >> >> The original code actually can be found inside php_cli.c and there it >> only checked the 1st line for '#'. if you create a file such as: >> #1 >> #2 >> > The issue h