Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106282 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 31333 invoked from network); 24 Jul 2019 16:04:09 -0000 Received: from unknown (HELO mail-vs1-f46.google.com) (209.85.217.46) by pb1.pair.com with SMTP; 24 Jul 2019 16:04:09 -0000 Received: by mail-vs1-f46.google.com with SMTP id j26so31336960vsn.10 for ; Wed, 24 Jul 2019 06:27:34 -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=FOGzvTEXGEJ2Tqr5OIRQ+rSZhRqMwRpR6I+yJRYu3Lw=; b=eInHXnMtousG9+kI5l1feQihuJrxfHBH9ziE0DNfy+sqRlTnrBmMdf0J6Lbnl73CyF wGg9Iqm3PkJdzuA31jq4+V3VKAW/HmslQvUtrwtH567awVxGyNV3UNlunefQhSpbW3Bb R+D87U+taZDpK2ObEGjlhmN9JYkK7vMBxp1yvEnUFJfVrQYXEXpGhNbOfcKQaIejdxCE 7N3J+7iZxy+cH6a+VQNvWS6dfJ0Ch/kZNEDK5mhMs86OP5P4szkin/IJj4baJJfsykUm IEw7bZpg2CDkaeANd1yPUHXJeXIeySS66xrHnSOPAg/Lk88GBnlZSH0j++hGbhlWY5+Z MHnw== 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=FOGzvTEXGEJ2Tqr5OIRQ+rSZhRqMwRpR6I+yJRYu3Lw=; b=jc6kX6qFjrCj3ufoOLasG1dlJR/vABNd4xA7oR07EmRkFerCP5F6PsxE+V1HBqw3DM waCtiOrRElVW7Kboq2gr11WZ027Ixe1zkI2z7xj5TiFSSgDYmfgbOWkdaURz6YxSu92s IVNsfAWJvKOafOxCpc/PL04C17EUK4RR5AyHCyT5omRFlmzE43xB6lvhqdziIQCxI7Bq 7cH6ZHXwIf15jB2uVI66K7exP9qFQsyyG+D8x9XcgOy+Uyo5h86+NAqZKRJJ/lLx0uJ2 B+4sj+TQ8mFGgsyeG6AVz+tuhEnhgLRCYUFqX/e3hbDedea4MrskUXwQaTmWvNhzCpL4 bGVg== X-Gm-Message-State: APjAAAUuiaMNb/3xceNTfAbRhgbcOVMeH6AtzrLVwdgRv7Er7K63IX8m FaG/NgJ34pqfN2cpVxN95fdBlA8zY3EdbmaCA5bupVL87hg= X-Google-Smtp-Source: APXvYqyHOMZZ+5CT72XZs2xnyyJ1eK+EHkEKpOh3Ozfw8W4Dc07orzUosk2eJTYcOJzOZQ57X5rNs73fRe3oL+tQ1O8= X-Received: by 2002:a67:da99:: with SMTP id w25mr16172350vsj.141.1563974853601; Wed, 24 Jul 2019 06:27:33 -0700 (PDT) MIME-Version: 1.0 References: <28a9ccf7-f5be-eb1e-999a-06170beeed4b@gmail.com> <5d37a85f.1c69fb81.9e2eb.29d0SMTPIN_ADDED_MISSING@mx.google.com> <182e4bf7-05f0-5dec-0e4d-4071cb1249a8@gmail.com> In-Reply-To: <182e4bf7-05f0-5dec-0e4d-4071cb1249a8@gmail.com> Date: Wed, 24 Jul 2019 15:27:19 +0200 Message-ID: To: PHP internals Cc: Stanislav Malyshev , Zeev Suraski Content-Type: multipart/alternative; boundary="000000000000963063058e6d4517" Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 From: george.banyard@gmail.com ("G. P. B.") --000000000000963063058e6d4517 Content-Type: text/plain; charset="UTF-8" On Tue, 23 Jul 2019 at 22:22, Stanislav Malyshev wrote: > Hi! > > > Due to the controversy after the initial vote on the Deprecate PHP's > Short > > Open Tag RFC [1] here is a new RFC to deprecate them written with the > help > > of Nikita Popov . > > Could you please explain what has changed since the last time we > discussed it that makes it necessary to bring the second RFC on the same > topic? > On Wed, 24 Jul 2019 at 02:41, Stanislav Malyshev wrote: > Hi! > > > V2 remedies that by maintaining default INI behaviour, as well as > > nullifying the possibility of code / data leaks by throwing a compiler > > exception if > opportunity to execute a file which contains potentially leaky code. > > Oh, I thought it was already agreed upon... I thought the RFC somehow > modifies upon that. I think parse error for 8.x would be acceptable. > > -- > Stas Malyshev > smalyshev@gmail.com > Nothing, this is a courtesy vote as the implementation proposed in this RFC is the one which would be used to implement the previous RFC even though it is not the one proposed initially. Now if we can all agree that this can land without needing to go through this whole process I think everybody wins: we all don't need to spend time on this, it can be merged as it, the RMs could re-tag Beta 1 (which may will need to happen because of some problems with the wincache extension from what I'm seeing) which puts less strain on them IMHO. Because I'm pretty sure I'm one of the most annoyed to need to go through this process once again. Is this going to happen? Probably not so here we are. On Wed, 24 Jul 2019 at 05:51, wrote: > - [Short tags] You need to purposely turn it on in your own deployment - > people and companies who use it use it exclusively for internal purposes. > This is just plain wrong since PHP 5.4 as it is enabled by default and you need to actively turn it OFF as which can be seen on https://3v4l.org [1] as it doesn't use any INI configuration files. Now as stated in the RFC: > Currently the used), but *disabled* in both php.ini-development and php.ini-production. which is probably why most of us - and most users - think that it needs to be implicitly enabled. I've modified the RFC to state the removal of the short_open-tags in PHP 9.0. Best regards George P. Banyard [1] https://3v4l.org/kKDI9 --000000000000963063058e6d4517--