Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111117 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11986 invoked from network); 22 Jul 2020 15:13:10 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jul 2020 15:13:10 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A297418050A for ; Wed, 22 Jul 2020 07:07:37 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (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 ; Wed, 22 Jul 2020 07:07:37 -0700 (PDT) Received: by mail-oi1-f173.google.com with SMTP id j11so1938072oiw.12 for ; Wed, 22 Jul 2020 07:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hMCibk2pxMpZ7SjAzLgsnZ2GwFyHdgrPJuLZ3k83RrI=; b=U0QfLXDl+VndImOxDrEu2m48j5zYqZAAbOXFUS+zPEVGKpfFa7d+KwGSk+QUhZAsPP PKlRSRww1D7HVYEMUnF0jefGrRdRpZL+obCqHyZdpkNBvtR775KS6UDuhRrQdeRpn5Yo /XftkCFRAJdBT0ld6UBB40przOVKK+M05T7N1kZOlzR4GI5Kl+Py8aaiT8l0pRQyD1V7 7Ov+bGPgnNYt6ECccF7o651B3d4l4zyO8uAd1zt6w7z59tZiOjihTblE4bX3KxpAdvoY AIH05UjpqIJa8X2AglvEqaEnZfzlb+V8NyldIRSP1W5Dqie/LolNqdthFsUlfLJ3yFKM sYdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hMCibk2pxMpZ7SjAzLgsnZ2GwFyHdgrPJuLZ3k83RrI=; b=jBN642YYDRg7G1UbkmGuJVe6joQOfOsljFqSKmtCHuD3aToZRP+l+sdpTw0dkk1WQJ KA8ATY54Zoyt5Xb4TTVfQo2ew97n6YT1gE9gGmXlVA82gHayxdiCA6GeLVPYq21eWX4s Jzg1ouOJ9ngpGzu/7SF3akGdkvAgHHold8bSRgBbPvmbVjA69xAqs9sgQYiN1hjj2E0z h+Eic4FQWtmFClwjh5xelHHP50IyNa0T9wJp/wGCgaa0vSs2xKXpMtYW2BtfuYgI9y3E az+p/xMOHf0raf0CY7NcjoggxaWTO3nwpUp/9FaUsRUOPQPfHopYdXkpzpWclVSt/Uwe DHZA== X-Gm-Message-State: AOAM530I/WCl2rR17eyCjPbaH3r1WKFGYETR5sePXjU3IOEW47ux4chP ppQ0IMySGaywsgsekTdy+zgQFfP32cwEqSG1z1CmMg== X-Google-Smtp-Source: ABdhPJzAkvW8dFrQpcpRRq/fO75zlyLDyEYw0Tw2mgNBYehIw4mfofYwyNUKKB29C073+IBMRAJYq0ClOVKsdYQO98c= X-Received: by 2002:a05:6808:50:: with SMTP id v16mr7341136oic.138.1595426856012; Wed, 22 Jul 2020 07:07:36 -0700 (PDT) MIME-Version: 1.0 References: <20200722155811.370c999c@mcmic-probook.opensides.be> In-Reply-To: <20200722155811.370c999c@mcmic-probook.opensides.be> Date: Wed, 22 Jul 2020 11:07:21 -0300 Message-ID: To: =?UTF-8?Q?C=C3=B4me_Chilliet?= Cc: PHP Internals Content-Type: multipart/alternative; boundary="00000000000004911c05ab08435c" Subject: Re: [PHP-DEV] The @@ is terrible, are we sure we're OK with it? From: david.proweb@gmail.com (David Rodrigues) --00000000000004911c05ab08435c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My suggestion is the tilde (~). Currently is used only as the bitwise NOT operator, but in this context seems to not have any problem. ~ Attribute1(~1) ~ Attribute2(...) function withAttribute() { ... } Or then we could use another more detailed syntax: <-- Attribute(...), ... --> :: Attribute(...), ... Or even create a new keyword like: with Attribute(...), ... function withAttribute() { ... } And in last case, just use nothing but the attribute itself as a prefix: Attribute(...) function withAttribute() {...} Atenciosamente, David Rodrigues Em qua., 22 de jul. de 2020 =C3=A0s 10:58, C=C3=B4me Chilliet < come.chilliet@fusiondirectory.org> escreveu: > Le Wed, 22 Jul 2020 13:00:10 +0100 (BST), > Derick Rethans a =C3=A9crit : > > Please, let's do the sensible and use the Rusty #[...] syntax. > > This syntax is the one I liked the less in the proposed choices, given # = is > used for comments. > > Wouldn=E2=80=99t #[] cause more parsing issues than @@? > > What would be the rule, it=E2=80=99d be illegal to start a comment conten= t with > '['? > > C=C3=B4me > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --00000000000004911c05ab08435c--