Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88904 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45582 invoked from network); 21 Oct 2015 15:54:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2015 15:54:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.182 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.182 mail-yk0-f182.google.com Received: from [209.85.160.182] ([209.85.160.182:34117] helo=mail-yk0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/10-43914-C45B7265 for ; Wed, 21 Oct 2015 11:54:53 -0400 Received: by ykdr3 with SMTP id r3so53645684ykd.1 for ; Wed, 21 Oct 2015 08:54:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=exCB/Pph0Y+XxhS8sfUFzFjqv2ks36phIvsD+fllGPs=; b=T5lVkKdBqLzAlHyC4wuf2L6o25TyJ8r4l3GzrMzVOdadcJ5YbEf6Ua1ISolsTNexy2 HyxxyGFQNJ4jDiCCqbEsEJne6HtVt5iOTQ+OmH+dNbVonac24+S3iXNnTQbm9cbl+4Du fI/m/o911ztV7hvZOyNRb0/37tSBViYhIHUmqQyY3nevG6nLj0HNei99WtLjd4ofnvuW fqpO7TG3f75fYSM71jG9wVaB9RyBzZ1hsDyLqW+ddyDn89m/WX2NscT4iS6DHIqvs76i +mj4ddwexTmrFzY1jGnjZcRFyfnTuQxdOQuDD9STF9e4/68nSUqoJBl0qKJUInkFKbdH 1+fA== X-Gm-Message-State: ALoCoQl95DkM6woAVJL3i3TAth9RWYv4uLxPW1zG/g1SxdpCIfbF7yGYSOQjYDZeE0/wLpVvNs3A MIME-Version: 1.0 X-Received: by 10.129.74.196 with SMTP id x187mr7713946ywa.133.1445442888135; Wed, 21 Oct 2015 08:54:48 -0700 (PDT) Received: by 10.37.76.137 with HTTP; Wed, 21 Oct 2015 08:54:48 -0700 (PDT) X-Originating-IP: [78.145.254.11] In-Reply-To: <20151020173602.GA92318@3006.local> References: <20151020173602.GA92318@3006.local> Date: Wed, 21 Oct 2015 15:54:48 +0000 Message-ID: To: Sean DuBois Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] [VOTE] Class Constant Visibility From: danack@basereality.com (Dan Ackroyd) Hi Sean, internals, While I support this RFC, it seems that the actual implementation is still under discussion. In particular, whether the RFC is going to allow protected constants in an interface is not clear. In the text of the RFC, on one line it says: "This RFC propose PHP support class constant visibility that mirror the behaviour of method and property visibility." This would imply that protected constants are not allowed, as protected methods are not allowed in interfaces. Just below it says: "//Interfaces only support protected/public const, and a compile time error will be throw for privates" Which says clearly that protected constants _would_ be allowed. Please can you update the text of the RFC? Unfortunately, that may need a restart of the voting :-\ However that should just be a formality as it seems to be a popular RFC. cheers Dan