Re: Re: namespace separator ideas
| From: | Oliver Grätz | Date: | Sun, 27 Nov 2005 01:25:13 +0000 |
| Subject: | Re: Re: namespace separator ideas | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20617@lists.php.net to get a copy of this message | ||
Jasper Bryant-Greene schrieb:
> Oliver Grätz wrote:
>
>>Oliver Grätz schrieb:
>>
>>> :> <:: <- <: ..
>>
>>Whoops, forgot to add "%%"
>>
>
>
> +1 for <- here. It makes namespace hierarchies resemble diagrams of the
> same hierarchies (like inheritance in UML). It also visually makes
> sense, isn't hard to type, and doesn't look like a smiley (like :> etc).
If Marcus is correct, then this won't work because of such cases:
define('a',2);
define('a',3);
if (a<-b) echo 'gotcha';
Sorry :-(
OLLi