Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49277 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51081 invoked from network); 10 Aug 2010 20:00:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2010 20:00:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=daniel.egeberg@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=daniel.egeberg@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: daniel.egeberg@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:58796] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/90-61991-8DFA16C4 for ; Tue, 10 Aug 2010 16:00:24 -0400 Received: by vws18 with SMTP id 18so5047384vws.29 for ; Tue, 10 Aug 2010 13:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=uHxdMZjtfr2WN+goP6bu6y5IUGPdAym6tPlXM77LBos=; b=Z3n94khr5S/77rXu7kUGeIU5sqnJhReGd9I9fEHoxsNPeznHbmzJ4BAC6uagTJbCy5 V4fcA+GcstaWCjp0bN0E6JUWDbifcopnYXI6Q/xEAPF2CxuPhyJrcT1jYunHkkdfciVM 4T31fJHrceGLQqUC1g+j740/+d84wdHbhodIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=OMGtSeCibs2PKB2fBX67ZTFk49BMtA/MpiFfbRBkkskBRPQDrjLpQeidFSF0XtMpbJ Xd/ImBCHrA5T791mkWaZV3jeq2ssOUPbBvwMunRdvY5CX8o5Z8eUq1RA2wQGvMp9aV7i 5e7O475L8Oy4RLLpQiSLeg91BBheT2/Mtij+s= Received: by 10.220.62.198 with SMTP id y6mr3914937vch.220.1281470421199; Tue, 10 Aug 2010 13:00:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.100.146 with HTTP; Tue, 10 Aug 2010 12:59:51 -0700 (PDT) In-Reply-To: <4C61AEEC.4030307@mohiva.com> References: <4C61AEEC.4030307@mohiva.com> Date: Tue, 10 Aug 2010 21:59:51 +0200 Message-ID: To: Christian Kaps Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Namespace separator constant From: daniel.egeberg@gmail.com (Daniel Egeberg) On Tue, Aug 10, 2010 at 21:56, Christian Kaps w= rote: > =C2=A0Hi, > > 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 =3D '\\'. 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. --=20 Daniel Egeberg