Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111624 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60136 invoked from network); 19 Aug 2020 10:07:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Aug 2020 10:07:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7E4F4180539 for ; Wed, 19 Aug 2020 02:09:07 -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=0.8 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DOS_RCVD_IP_TWICE_B, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from box.beccati.com (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 19 Aug 2020 02:09:06 -0700 (PDT) Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id DD8242002F5; Wed, 19 Aug 2020 11:09:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1597828145; bh=plgZhWDI4vsUWFDTx/mfRRaREbw38yhqR4HY3YnKDGc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=RRO/D5k8BvJUDS4JGZr26f96/aH3vU23HKaBpeoCmIhPxIOFKAWPQzRw83tiiFogH KZijOEOId/9ohsypIG9j0vsc6gFpWrscj4Bg1breBMRMfoCK9iKrLSRuvZo7CqpdyW Ani7kglqy7g4QRN+X9L2FM2s5IHzducTi2MSma1fy5FgcUjybJgTcOLe4cMSo9FZPN cfaDm9jgsk7YyR/TP5ucOtw5+oRPNiCgD/LFgoCqKHGk66yFDAEs5hzy9OF4hb+1jn 3UOLD91ieKIKSl/Cvd0tXxCclpGTuAqSFcaFLwrUNJgDDgyItW22SIi2QAA75WidI+ vafSEII1zuzIg== To: Andreas Leathley , Benjamin Eberlei , Derick Rethans Cc: PHP Developers Mailing List References: <642e48c2-eccc-19d8-99fd-888062a6232e@gmx.net> Message-ID: Date: Wed, 19 Aug 2020 11:08:59 +0200 MIME-Version: 1.0 In-Reply-To: <642e48c2-eccc-19d8-99fd-888062a6232e@gmx.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2 From: php@beccati.com (Matteo Beccati) Hi Andreas, On 19/08/2020 11:01, Andreas Leathley wrote: > I mentioned the benefits of @{} in an email to this list on Monday, with > the proposal to have both @@ and @{} as attribute syntax, so both camps > could have their syntax (one with delimiters, one without) with minimal Please, one and only syntax would be plenty. We have history showing that having two was not a brilliant idea, i.e. string offsets. > But I guess the division about syntax is too big at this point to > consider an approach where we just offer both types of syntax. From a > PHP developer viewpoint, it would be preferable though. To each their own. From my viewpoint, and possibly quite a few other's, having two syntaxes is not preferable. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/