Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106449 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 87501 invoked from network); 8 Aug 2019 19:27:00 -0000 Received: from unknown (HELO cache4.mydevil.net) (213.189.55.195) by pb1.pair.com with SMTP; 8 Aug 2019 19:27:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=korulczyk.pl; s=devil; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DZfj+QPgiGTtGUUu23nPXUsUBjz8vUytVtMps/W+V9M=; b=bicvi7uJTeeMiFdjN6mCmET6/Z 7FiZ/6dKps05aUcvM90JP9m1bVp9egRS8+8Gkf992jabfMtyXT0yAuNVy+mrJzuGnmPsgva2RCsO7 sO2g01m0DFf5pqQcLkvPFUDg22yOevg84EwXt5IgU7Akx45rKYp+6RmiJ1uZjkUOryLg=; To: Arvids Godjuks Cc: PHP internals References: <1759114.DMe9nKvMbn@mcmic-probook> <62c73b8f-df41-43c2-bb51-ceeaf607cacf@Spark> <5d6447fe-ab87-bf30-49fe-fecff7062ffe@korulczyk.pl> Message-ID: <195afccb-0dd4-dc42-49ce-6da081884cf6@korulczyk.pl> Date: Thu, 8 Aug 2019 18:54:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-AV-Check: Passed X-System-Sender: robert@korulczyk.pl Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags, again From: robert@korulczyk.pl (Robert Korulczyk) > I'd say this is not really a language concern and more tooling and testing problem. It's a class of a genuine mistake everybody does from time to time > - be it wrong PHP tag, HTML tag or closing } added on the wrong line resulting in a logical error. This is a direct consequence of the language having settings that cause the same code to be interpreted (and works perfectly fine) in one environment and be displayed in other (without any warning). This is not the same as a typo in HTML tag or logical error in code. This is literally a tool for shooting yourself in the foot - it exists, but no one should use it. And it is still really easy to use it by accident. For example, this is what PhpStorm generates when you try to inline-comment tag with short echo: Regards, Robert Korulczyk