Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106137 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11261 invoked from network); 3 Jul 2019 18:48:07 -0000 Received: from unknown (HELO 28.ip-149-56-142.net) (149.56.142.28) by pb1.pair.com with SMTP; 3 Jul 2019 18:48:07 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: thruska@cubiclesoft.com) with ESMTPSA id D0CFD3EC52 To: Levi Morrison , Andrew Gromov Cc: internals References: <1562149108.866677.18420.33348@mail.rambler.ru> Message-ID: Date: Wed, 3 Jul 2019 09:06:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][VOTE] Deprecate curly brace syntax for accessing array elements and string offsets From: thruska@cubiclesoft.com (Thomas Hruska) On 7/3/2019 7:41 AM, Levi Morrison wrote: > Was any analysis of usage done for top open source projects? I support > this direction, but would prefer to know its current impact before > voting. Well, I currently use braces when I iterate over strings for reasons of readability. Example: https://github.com/cubiclesoft/ultimate-web-scraper/blob/master/support/tag_filter.php If deprecated, at least the linter will pick up the problem areas and flood log files. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/