On Tue, Aug 10, 2010 at 21:56, Christian Kaps <christian.k...@mohiva.com> wrote:
>  Hi,
>
> is there any reason why no namespace separator constant exists in PHP. I
> have many cases where I concatenate strings to a namespace. This ends up
> with many class constants like const NS_SEPARATOR = '\\'. A default PHP
> constant would be a better way to handle such cases.

It is already constant (i.e. it's always a backslash). What do you
need a constant for? It's not system nor configuration dependent.

-- 
Daniel Egeberg

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to