[PHP-DEV] Re: phpnamespaces.org!

2005-12-02 Thread Jessie Hernandez
""M. Sokolewicz"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi, > > personally, I find :::A, ::A and such constructs *extremely* ugly. Might > I suggest using a special keyword to denote global scoped classes? > eg: > global:::A and such. global already is a keyword, but I'm pre

[PHP-DEV] Re: phpnamespaces.org!

2005-12-01 Thread M. Sokolewicz
hi, personally, I find :::A, ::A and such constructs *extremely* ugly. Might I suggest using a special keyword to denote global scoped classes? eg: global:::A and such. global already is a keyword, but I'm pretty sure it could be reused in this context. Plus, it clearly shows where you're get

[PHP-DEV] Re: phpnamespaces.org!

2005-12-01 Thread Jessie Hernandez
Hi l0t3k, Yes, this is how it's done in C++, but do we want to allow this syntax for PHP? If so, it'll either be :::A, ::A (can be used, but might be inconsistent as ":::" is used everywhere else), or \A, depending on the final separator... Regards, Jessie ""l0t3k"" <[EMAIL PROTECTED]> wrote

[PHP-DEV] Re: phpnamespaces.org!

2005-12-01 Thread l0t3k
""Jessie Hernandez"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > 2) How will symbols be resolved inside namespaces? If a class "A" exists > in > namespace "N", and a global class "A" also exists, then by referencing > "A", > what should happen? Should the namespaced "A" be u