Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-16 Thread Nicholas Curtis
Great Idea, would love to see current standard library in a legacy namespace and a new standard library implemented as methods of primitive types. $string = "Hello, World"; echo $strong->toUpper(); // HELLO, WORLD $int = 3; echo $int->round(2); // 3.0 While still preserving $legacy.strTopUpper($

Re: [PHP-DEV] Decorators Revisited

2012-08-13 Thread Nicholas Curtis
I agree great idea. Would really help to simplify benchmarking code also. On Mon, Aug 13, 2012 at 4:16 PM, Nils Adermann wrote: > On 08/12/2012 08:17 PM, Anthony Ferrara wrote: > > Thoughts? > Yes, please. I think this would be a great simplification for all kinds > of extensibility / plugin mec