Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106267 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 27188 invoked from network); 24 Jul 2019 00:09:57 -0000 Received: from unknown (HELO mail-wr1-f50.google.com) (209.85.221.50) by pb1.pair.com with SMTP; 24 Jul 2019 00:09:57 -0000 Received: by mail-wr1-f50.google.com with SMTP id p17so44634108wrf.11 for ; Tue, 23 Jul 2019 14:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=L6fLvlTlFh7CVz48aHs0o391HaunxXmL8Fx8MicJTtM=; b=Ft9u8jioVHXrvq6l5UlfBeABi/AshazuZDjtGX0r3yzwEDEL3Nlj/tKSJX5f0v2oer j6WyBbwvSOkcmTu/zaPsSpQSa6brUYt5LupMksttQg9WH+uqJ8YvtaSRQht7FxbNoZri 3xMtFVMiF4Zvb2kdi+3p+yx2W6djvRW/EnHHqSFc9bNjXhkeC9QumAAm9sdfWkfHDdSU Aqul89IEt4qLoMjFV/pqRPMLIxmzF1RuHm6PAr8NtAl27TvaHK6GglqzYYmbhTtoWa6S 0VW+tcCbkWm253jEiikwtwjBqhysZmvzWWoUuoxhb1gCGDuaRWj2XPChc6UWwvuVkQl8 I+nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=L6fLvlTlFh7CVz48aHs0o391HaunxXmL8Fx8MicJTtM=; b=J7E6HZcBWnI6qtR7YWXhj7HZAG8yGvJDmecbFFF4hTQQuQCEowNYoNG1azN8xXoJKM zQM7Q0+uGEmuFVlXw7cwDhyKJ2EjEYWig8UhnjV5VtpDOfriKgNN4wVoNMJjB3CjogTI Gw4MheueUz6egl+pnhymBgGEBxTuG5GZxIJgJPjf2GM0hV++gfNq8ELADa77N86Y1DZo VATEUoNc1Q4fcKn13Nmhv0/FIBhpV39LUv/jOehllznxXVJiS75InnB6bESWM0dTIUW7 LsDkB4hk8a4BEkhI3ZQBH5r8Y2pKq8dGx9KIiehqLeEvBbmwyQRJLHRNpso+2V26OUvR RDbg== X-Gm-Message-State: APjAAAXT3k1qOJPR0jgRM/RTjCcKsxBLuxwJljuAfhZHvjphj+DQz7rA iBiMtFC8MCFm8UC7aPAW2l01NmG3 X-Google-Smtp-Source: APXvYqxFK8qzGvF6Gol5TIGUXG0mtV0IN3+stb5HYx0WXXXSbtdQRfVIVFtMpn/Trs1s3oasNo/Ksw== X-Received: by 2002:adf:ec0c:: with SMTP id x12mr7802793wrn.342.1563917590901; Tue, 23 Jul 2019 14:33:10 -0700 (PDT) Received: from [192.168.0.16] (cpc84253-brig22-2-0-cust114.3-3.cable.virginm.net. [81.108.141.115]) by smtp.googlemail.com with ESMTPSA id r123sm39941348wme.7.2019.07.23.14.33.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jul 2019 14:33:10 -0700 (PDT) To: internals@lists.php.net References: <28a9ccf7-f5be-eb1e-999a-06170beeed4b@gmail.com> <703a8677-0c92-4b71-25f9-bf99c506ec98@gmail.com> Message-ID: Date: Tue, 23 Jul 2019 22:33:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <703a8677-0c92-4b71-25f9-bf99c506ec98@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 From: rowan.collins@gmail.com (Rowan Collins) On 23/07/2019 21:52, Stanislav Malyshev wrote: > This RFC does nothing to eliminate code written for short-tags - it is > impossible to eliminate with any RFC, in fact, it is impossible to > eliminate at all. It does more to eliminate it than the previous RFC, by having at least one version where it generates an error, rather than being silently ignored. > So the only question is what is happening when server > is encountering such code. Yes, which is exactly what this RFC is changing, because although the previous RFC was accepted, concerns were raised that the details hadn't been fully considered. >> immediately visible in PHP 8.0. This RFC removes that danger by amending >> the 8.0 behaviour to *explicitly detecting the tags* and throwing a >> ParseError. > But only for 8.0. So if you have a bad luck of skipping .0 and going > directly for .1 you're still in the same trouble. Yes, as I said elsewhere, I think 9.0 is a much better time for the full removal, and I hope the RFC will be amended appropriately. However, to reiterate, either is still later than the previous RFC. Regards, -- Rowan Collins [IMSoP]