Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35667 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70918 invoked by uid 1010); 20 Feb 2008 22:09:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70902 invoked from network); 20 Feb 2008 22:09:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2008 22:09:02 -0000 X-Host-Fingerprint: 84.166.116.45 p54A6742D.dip.t-dialin.net Received: from [84.166.116.45] ([84.166.116.45:14318] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/CB-30965-DF4ACB74 for ; Wed, 20 Feb 2008 17:09:02 -0500 Message-ID: <80.CB.30965.DF4ACB74@pb1.pair.com> To: internals@lists.php.net Reply-To: "Sebastian" Date: Wed, 20 Feb 2008 23:08:58 +0100 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Posted-By: 84.166.116.45 Subject: string operators for assigning class constants From: admin@ifyouwantblood.de ("Sebastian") hi, why isn't it possible to assign class constants like this: class test { const DIR='dirname'.DIRECTORY_SEPARATOR.'anotherdirname'.DIRECTORY_SEPARATOR; } is there some performance issue? anyone ever tried this or was there a discussion about it? i would find this very useful..... greetings