>
>
> In fact the uniq problem i see, is could be a name conflict like :
>
> function Foo() {
> // ...
> }
>
> class Foo() {
> public __create() {
> // ...
> }
> }
>
> Foo(); // Instanciate the class or call the function ?
>
>
And I think that this is a much higher cost, that we gain.
If we want this functionality, then Mathieu Suen's idea is better IMHO:
http://www.mail-archive.com/[email protected]/msg46764.htmleg. (new Foo())->bar() Tyrael
