Re: [PHP-DEV] Set default namespace

2008-01-10 Thread Tomi Kaistila
Yes, I know. My suggestion/inquiry was about changing this behavior. So instead of "use ProjectA;" being equivalent to "use ProjectA as ProjectA;" by leaving the "as Something" out the default namespace would be changed. So by calling "use ProjectA;" the default namespace would change from globa

Re: [PHP-DEV] Set default namespace

2008-01-10 Thread Alexey Zakhlestin
"use ProjectA;" is equivalent of "use ProjectA as ProjectA;" if you want to use something from namespace you should "use" that something. for example: "use ProjectA::BOOK;" On 1/10/08, Tomi Kaistila <[EMAIL PROTECTED]> wrote: > Sorry for the ambiguous subject line, but I could not find a better