On Tue, Aug 10, 2010 at 9:59 PM, Daniel Egeberg <[email protected]>wrote:
> On Tue, Aug 10, 2010 at 21:56, Christian Kaps <[email protected]> > 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 > > like DIRECTORY_SEPARATOR I guess Tyrael
