Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31692 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92313 invoked by uid 1010); 17 Aug 2007 16:34:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92292 invoked from network); 17 Aug 2007 16:34:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2007 16:34:11 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.251 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.132.251 an-out-0708.google.com Received: from [209.85.132.251] ([209.85.132.251:41250] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/56-49531-EFDC5C64 for ; Fri, 17 Aug 2007 12:34:10 -0400 Received: by an-out-0708.google.com with SMTP id c18so107170anc for ; Fri, 17 Aug 2007 09:34:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EI+fDxWoEylJqgyuZbcjIcvaqHoymdL3LFn/v+Ba26PRPC5ESkQyXmCXrN/UcdF59jUDmsWhQidQdgDAj86W9isyFrLKFo3ZPg4vRHKJkHBYE8QeboXpZT7Fj78i3T/R2OoTWVOd6XtimY6PzVrvePxa519vHWg5efZ/M8SKDpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=is4l/9IV6/7SsX+f1majbkcol+VyAJ4Gji7bpBZf1mczDn3ykQyb/sad98/6WUN52XmzQCFBrKclXMFRhcxq/T3+EuHbEdw9tOPmOSWdVkO/rZomhjZOd8lMiMBDLnup9t+oaj9xMeGMcwvR7n8NFbDR4QnVQjFpeG2TlWeoRZs= Received: by 10.90.50.1 with SMTP id x1mr4792172agx.1187368440329; Fri, 17 Aug 2007 09:34:00 -0700 (PDT) Received: by 10.100.111.5 with HTTP; Fri, 17 Aug 2007 09:34:00 -0700 (PDT) Message-ID: Date: Fri, 17 Aug 2007 20:34:00 +0400 To: "David Coallier" Cc: "PHP Internals List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [PHP-DEV] Namespace question From: indeyets@gmail.com ("Alexey Zakhlestin") "const" keyword is currently allowed only inside class-definitions; generic constants are specified using "define()" On 8/17/07, David Coallier wrote: > Hey guys, looking at the minutes meeting from the paris conf > (http://php.net/~derick/meeting-notes.html), I was wondering if " > Constants in name spaces are allowed unless we find problems with the > implementation. " were implemented. I tried but putting > > namespace MyPackage; > const NAME = 'inspace'; > > > Then I get a parse error. (Unexpected T_CONST..) > > Is that normal ? Looking at the minutes notes I can not really see > what of this list that has been discussed by the attendees has been > implemented. > > Enlighten me someone please. > > And yes these notes were built nearly 2 years ago. > > Thanks for your replies. > > -- > David Coallier, > Founder & Software Architect, > Agora Production (http://agoraproduction.com) > 51.42.06.70.18 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/