Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97955 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98252 invoked from network); 25 Jan 2017 08:27:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2017 08:27:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=netmo.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=netmo.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.175 as permitted sender) X-PHP-List-Original-Sender: netmo.php@gmail.com X-Host-Fingerprint: 209.85.213.175 mail-yb0-f175.google.com Received: from [209.85.213.175] ([209.85.213.175:35804] helo=mail-yb0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/BD-00729-57168885 for ; Wed, 25 Jan 2017 03:27:34 -0500 Received: by mail-yb0-f175.google.com with SMTP id f67so796669ybc.2 for ; Wed, 25 Jan 2017 00:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fZS5SP0LJythZv9/3cfhrwmgmdtd1mLhaJz5OBg/g1A=; b=PC+RGJjJ6529dng4W8zVpAdE91ujsMpuj3eiVWQsYMaj1GQfhNGhmVhvnOUWAOwfm0 I5IevOxgcl5bXekCqiyTyBRlgULVVKdGE/Cu6iqE+WOxABJDKgZHIOrx86OaQwFfQHYT VKomPIkRYiqINrS5Tg6QfNbI8qFc4Zmd2QqbU6ylQ8SmhOsQK7PHOob+b0fyqJzv8qgt vNFYIpUPzK69LXygvzOC0ww63nqm2ANXqK0Oi5RdSdMR5qLLGGS+GIV92I7C8OGX3pwe tiGKCexRe/cxgbmrRy4fc9fWU4QWSQy3sq7tFxUtbb9483OKPCg+GFEfgnZvYjUQ80xK cLGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fZS5SP0LJythZv9/3cfhrwmgmdtd1mLhaJz5OBg/g1A=; b=Sq/FehdmR4Tp7ndTYv+Na+eaoA50LuhSmo7mL+8ncVxBQ4L0edndLcIN5JgdgUUxGG h0cAydt/fzt+rtITaSxuU3jWC+rDnZEWIPImFoPtMByVNgxVvH0FmyXFiFbWmfdDjG5k Gj7i5SlFb9bMOthHdwgstcb+pXKvCX+9dZSndsW6wVTAshMHD8n4sOjhR9aSZBR3W1Of cQVozuztZg3KQsTM1QYraC8I1WuBc6bY0Hs+eWJDLw1aSbQsqBIffmlRcA2WlYcAtyu7 20DRCutOQf/t0DjIoymfwZND4laTjw7ROxPDum62K37FWmoDWrN9RHadoB9MrUb0coSi F75Q== X-Gm-Message-State: AIkVDXIZrfBV2W3vwZJH7Unw9mgB8Kxzri3bentTuE/C2lATCvynHtit3z42khSO9ewqdkZ1YZwyXJ7dM3lDzQ== X-Received: by 10.37.68.137 with SMTP id r131mr14532651yba.68.1485332851348; Wed, 25 Jan 2017 00:27:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.128.71 with HTTP; Wed, 25 Jan 2017 00:27:30 -0800 (PST) In-Reply-To: <4c58f6af-13df-d1a9-5988-55bd618b1853@gmail.com> References: <4c58f6af-13df-d1a9-5988-55bd618b1853@gmail.com> Date: Wed, 25 Jan 2017 09:27:30 +0100 Message-ID: To: Stanislav Malyshev Cc: Scott Arciszewski , PHP Internals Content-Type: multipart/alternative; boundary=001a113f45b4fa5dd10546e7003b Subject: Re: [PHP-DEV] Class Constant Finalization From: netmo.php@gmail.com (Wes) --001a113f45b4fa5dd10546e7003b Content-Type: text/plain; charset=UTF-8 They don't belong to a class only, but to a class and all its descendants. Ideally, descendants should not inherit constants (or anything static), but we can't change that now, so final could make sense here. Basically, they should work exactly like static fields, except that static fields can be re-assigned, while constants may not. --001a113f45b4fa5dd10546e7003b--