Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106447 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 81810 invoked from network); 8 Aug 2019 19:01:33 -0000 Received: from unknown (HELO mail-wm1-f43.google.com) (209.85.128.43) by pb1.pair.com with SMTP; 8 Aug 2019 19:01:33 -0000 Received: by mail-wm1-f43.google.com with SMTP id 10so3001905wmp.3 for ; Thu, 08 Aug 2019 09:28:45 -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=dAox3NhP+XPj/grn4KS1a6IEljaPL3B2CQHrSr2nCN4=; b=huV8KEY8+c3krWlQdfvSb+IbGWHtCBwTBybIAdv+PNeweyuGS4uTRFa5W8ohf63x+N ehq6GATsJC2WFYYMKDxC2L8lc+bsztgY4n5/a8RfE10T3k97eZS92XAmAq339JxhkiyW V/UgIE9V/C+g9fyl4H/F83hQfEHhtFEM+g1dHGz6cGKWGUY/kFa0swQjTH6xLVFGA/8T 9qhCvzS4gfuHvAaOUdeJf0b0AGMTnmPlB1xKrFrtmEFPLgP616MFdvuJY5v7+QPoyI0Z ig6sTV6Prcvi3hco8p4WaPsZ6MGYASzhvmQMng/jLyOF14Q65qRXk6hg53vBNH0fmRUz tMdQ== 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=dAox3NhP+XPj/grn4KS1a6IEljaPL3B2CQHrSr2nCN4=; b=gX7fGr0oRbj2iwd3sdI+USJ0YEo+9DWqEkvnTXMZIkCdmgTqa801vSGwxV9/MBorv5 7nupCfAOXl8WOuIV0++f09Di16RDakdIWiYZp/u12xQc1Tlt/JqRit57NU1RICJ4aiJ1 lV76s6o+oXzWoon72Ok1DOC/qiKh4Eu3rFec3pZRmW5kjRXkYCp+dDYMlifI2EX1ztJh GEHEJ0ueCobm+JSc8c2LBt8FLw8LwwkbUNuNZpqM2AkA4cNWV/LbzuCdseSHXmvCOI3L IGcAwaNSuxyu24nHF4PMDOgvdJw1MbCel3GjQey2iq9tvG8j2KuNjS0YuVZF4MgWGvIL gEzg== X-Gm-Message-State: APjAAAW3kOFxv3608V9aThzbaBeVWqTlQa0p+jzbjeaQYdtJbTbSkr/4 97K+hymYQB0rif5Z2YswvZQO97D9zmpH5jBU7JJedhSU X-Google-Smtp-Source: APXvYqwSS1lsSJ9AgYlw5NBy4RTCwe0N3DyIhh4iUrlpe9E0zAEff8yprEpPM3KBHM8FD/LQxt57an1+Zb/yFOyND9o= X-Received: by 2002:a1c:3142:: with SMTP id x63mr5339550wmx.169.1565281724486; Thu, 08 Aug 2019 09:28:44 -0700 (PDT) MIME-Version: 1.0 References: <1759114.DMe9nKvMbn@mcmic-probook> <62c73b8f-df41-43c2-bb51-ceeaf607cacf@Spark> <5d6447fe-ab87-bf30-49fe-fecff7062ffe@korulczyk.pl> In-Reply-To: <5d6447fe-ab87-bf30-49fe-fecff7062ffe@korulczyk.pl> Date: Thu, 8 Aug 2019 18:28:18 +0200 Message-ID: To: Robert Korulczyk Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000002957dd058f9d8d44" Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags, again From: arvids.godjuks@gmail.com (Arvids Godjuks) --0000000000002957dd058f9d8d44 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D1=87=D1=82, 8 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3. =D0=B2 17:56, Robert Korul= czyk : > > Many people have talked about the potential impacts of keeping short > tags. > > I have yet to see anyone give an actual example where they have been > > negatively impacted by their existence. I've given you my personal stor= y > of > > how removing them will negatively impact my company. I welcome anyone > that > > can provide an actual incident where the existence of short tags hurt > them, > > or, the continued existence is likely to have a large negative impact o= n > > them in the future. > > I was bitten by short open tags. Despite the "no short open tag" policy i= n > our app, one occurrence of ` email template so it was quite hard to notice on production. Especially > that short open tags were disabled only on CLI, so we had code leak only = in > emails sent by cron. It took over a month to notice that bug. > > You may be concerned about people abandoning PHP due to BC breaks, I'm > more concerned about people abandoning PHP because of issues like this. I= t > gives me the impression that the language wants to hurt you... > > > Regards, > Robert Korulczyk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > 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. --=20 Arv=C4=ABds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Skype: psihius Telegram: @psihius https://t.me/psihius --0000000000002957dd058f9d8d44--