Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111424 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55220 invoked from network); 10 Aug 2020 14:07:21 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Aug 2020 14:07:21 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B591E1804D9 for ; Mon, 10 Aug 2020 06:06:31 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from vie01a-dmta-pe01-2.mx.upcmail.net (vie01a-dmta-pe01-2.mx.upcmail.net [62.179.121.155]) (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 ; Mon, 10 Aug 2020 06:06:31 -0700 (PDT) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe01.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1k57VV-0007Ut-0B for internals@lists.php.net; Mon, 10 Aug 2020 15:06:29 +0200 Received: from mail02.home ([213.47.8.56]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id 57UWkXUNSIr7G57UXk9pJ9; Mon, 10 Aug 2020 15:05:29 +0200 X-Env-Mailfrom: markus@fischer.name X-Env-Rcptto: internals@lists.php.net X-SourceIP: 213.47.8.56 X-CNFS-Analysis: v=2.3 cv=QN4WuTDL c=1 sm=1 tr=0 a=UsP8JIz990cEySE/ILGzbQ==:117 a=UsP8JIz990cEySE/ILGzbQ==:17 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=y4yBn9ojGxQA:10 a=2EALvoLjsrEA:10 a=ZZnuYtJkoWoA:10 a=I1DxAIjgAAAA:20 a=r3K1cBhwAAAA:20 a=APR1_l7s827OS6HBugsA:9 a=QEXdDO2ut3YA:10 a=RAY85cGY-_sA:10 Received: from mail02.home ([192.168.1.14] helo=[127.0.0.1]) by mail02.home with esmtp (Exim 4.72) (envelope-from ) id 1k57UV-0004aZ-VO for internals@lists.php.net; Mon, 10 Aug 2020 15:05:28 +0200 To: internals@lists.php.net References: <5c73b8d0-f477-83a0-4bd4-2fb8d11ad416@seld.be> Message-ID: Date: Mon, 10 Aug 2020 15:05:27 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <5c73b8d0-f477-83a0-4bd4-2fb8d11ad416@seld.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "scanner01.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 10.08.20 13:32, Jordi Boggiano wrote: > https://gist.github.com/Seldaek/b7a3bd28920c6cc181e67a829b13a81c This is really really useful! However I suggest to look at the raw text rather, because the highlighting is unaware of the syntax and may bias "how it feels to look at it" (*): [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: githubusercontent.com] -0.0 NICE_REPLY_A Looks like a legit reply (A) X-CMAE-Envelope: MS4wfG4jTIh06UqUf5MGYs6eFvmcGiaO6ZRdWgUl7ak55W4CN6EiHo1VoPYtjMHzrvmbZsVfoeYDA3ciNBZL2Kb7+/b9YjMU4E63R7z+bWmjIQEsIYS0Evuz ZxymCPEoaJlVE4UlbMrFtUnE1zx/qWsA6DmRRB8nEvfSVJMsJGf0h71O Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: markus@fischer.name (Markus Fischer) On 10.08.20 13:32, Jordi Boggiano wrote: > https://gist.github.com/Seldaek/b7a3bd28920c6cc181e67a829b13a81c This is really really useful! However I suggest to look at the raw text rather, because the highlighting is unaware of the syntax and may bias "how it feels to look at it" (*): https://gist.githubusercontent.com/Seldaek/b7a3bd28920c6cc181e67a829b13a81c/raw/ccb612d2547c99fe69d1bf09138efae22b956b37/attributes.php Personally, and never gave it much thought TBH, the `@@` AND `<<`/`>>` in fact is the most "unreadable" version to me because duplicate occurrence of a single character somehow creates a noise _for me_, I don't feel eligible to have a vote, but based on that and certainly aware IDEs in the future will help with this, I would vote for _anything_ not duplicating characters, i.e. favoring `#[]` or `@[]` :-} - Markus (*) Apologies for lack of words trying to describe my thoughts