Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110745 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51159 invoked from network); 27 Jun 2020 17:11:39 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Jun 2020 17:11:39 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EE3761804DC for ; Sat, 27 Jun 2020 08:59:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 27 Jun 2020 08:59:50 -0700 (PDT) Received: by mail-qk1-f175.google.com with SMTP id 80so11615742qko.7 for ; Sat, 27 Jun 2020 08:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=0wDse1x+PFlbp19URmv+HdmMYTQ/VVqElo1dG8Qhyio=; b=zCp1ADLVz2dBxLniTWCnuvBVE5MzY8rA6PpDSnKnohU9aQQR3y2t6Ir/kHvH66FbkA GzaYKGPIpd/HT7cE4VC+f22bReTiYKvsmzQReVbTTmKhW/tsHcSjVCqU2Dx1iWCUXdIj EN11SV8jVWjUku240g5d2uNgB0bvzUOSR1+kimHucHDIqKIGnphs3qsPY+jTyRYvL1hG 92218B2LTmCOVBHy0Avxnh/HYYiORQMc7mp5UcOD3PGjscAi9d9zyFW0LDktQrFlnAL4 FR6AcJipPd7FLq7sUWVjEWQLp6uxZukHh2lgfqiffuJPL4jRxLkfKdDmXju2/1TlevW/ 8vHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=0wDse1x+PFlbp19URmv+HdmMYTQ/VVqElo1dG8Qhyio=; b=b8POvHj5vfJVID1GsdVl7hNNTTKVurJFZY06/QaBL8R+Om9Ic+odT2ALWqlFdV0nzd GrTK8tKFTWdowG4WGzKRi32ifIigD12xIOIjyFEb41QUU4NjdD6gTLHO3PhConB6blo7 BGCD99NVHJRFeqgRbUS8ZEipcSpBwm1acyes4tsZmEhcXUMF3ZQjV41p7S2mXke9qFYS edA3FltLOg5BxNU3WT67RDz86di39Tz1bDMfFcrMBRT0kuVNnodqUS95EmQanRs8z1ki sWAmwSF2A4CJlfj1NBI9Ry8gwJURwftx3SNP9Gugjqxxrf5Y8E5DtBfi1H+u891+/Z6M cHPw== X-Gm-Message-State: AOAM530esjtMH6g+xsVtdhLzvvwj8CuJsWT9EKRut+wVeWwIcP33DnJa cAoBh2mEm8wpfMKrWgzK1Nk6Du1dNrU1aw== X-Google-Smtp-Source: ABdhPJw2j6rxthhCimPIEcffrjT1e+ac7bOrIQsvsG68hAthrQ2u6B9j7T6bMzRcJ8vpL/UOqjKNmw== X-Received: by 2002:a37:5b81:: with SMTP id p123mr7861160qkb.150.1593273586105; Sat, 27 Jun 2020 08:59:46 -0700 (PDT) Received: from ?IPv6:2601:c0:c680:5cc0:a187:8274:c6e6:9ce? ([2601:c0:c680:5cc0:a187:8274:c6e6:9ce]) by smtp.gmail.com with ESMTPSA id e45sm13011937qta.26.2020.06.27.08.59.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2020 08:59:45 -0700 (PDT) Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_148FB33F-6050-4703-9898-6CC761E50811" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Date: Sat, 27 Jun 2020 11:59:43 -0400 In-Reply-To: Cc: PHP Internals To: Stephen Reay References: X-Mailer: Apple Mail (2.3445.104.14) Subject: Re: [PHP-DEV] Trait constants From: mike@newclarity.net (Mike Schinkel) --Apple-Mail=_148FB33F-6050-4703-9898-6CC761E50811 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 27, 2020, at 9:52 AM, Stephen Reay = wrote: >=20 > Hi, >=20 > It=E2=80=99s always struck me as slightly odd that traits don=E2=80=99t = support constants the way classes and interfaces do. > I tried to find an explanation of the lack of support in the original = RFC, and came up empty. >=20 > A consequent discussion in R11 has led me here. > Can anyone working on internals explain why traits don=E2=80=99t allow = constants (either technically or philosophically)? > Moreover, what=E2=80=99s the opinion(s) of the list, on adding support = for this?=20 Yes. Please. -Mike= --Apple-Mail=_148FB33F-6050-4703-9898-6CC761E50811--