Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105015 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 21860 invoked from network); 29 Mar 2019 23:39:07 -0000 Received: from unknown (HELO mail-vk1-f178.google.com) (209.85.221.178) by pb1.pair.com with SMTP; 29 Mar 2019 23:39:07 -0000 Received: by mail-vk1-f178.google.com with SMTP id h71so801819vkf.5 for ; Fri, 29 Mar 2019 13:33:21 -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=EWdzvNzxkRJWflTa6aI2jbqeFFwRXR9TRrKGz8vw5nM=; b=Qa7KJ8AFcMkM5pQApQ/amvSRQuoxToFLa+NaxURDbbM24SLVc2BKsyX8z8jmPqIPyF hYDw+Ht+lUrgCBccM86tbVPZtOUGvs8G0kfOlXdTvw1tr3J8cAmQg8vGi4FJg8dxku0V w3+BdfWn8vgX+TFrmvDvbyPrj5252Z/tAieNvmU1b2/nntFPR8vX869h4+i2PjBOpH7j FwxMxwPy/bt9yblW6lPfpxuSyr7Eyo/Z0YWd0Bs+osKTBvAr6gtaTt+XqObk9wM82Szz 83rxaKnbYr9hOJwkYyOyMkDfW97UQUzzwQrM/3knY1NW1fyhqZA9g7Q93o5CIcDxKmFq TeDQ== 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=EWdzvNzxkRJWflTa6aI2jbqeFFwRXR9TRrKGz8vw5nM=; b=FxpuwF0NEzgOVNtC/zVnt1iPmgFoJ/MFs5/QXvgArbAbHUzgj7aBjhcfEjSAeRafWV fBo9P5NH5NzDBo/LsZZ6QIXCJPNFy8DwUX/SgVNPOsyu2lQDVvH9nB1H0mdlG9wLSHtI 0Eb/8DRZE6tJbXlfBiMBTMFbThVV/emQc1vB6SHXNkzOwaSKMSS9wEdYyj+xtd2GZuDi G/xrgUfu+52RY0RyUWdnO6TyOf/sAfuJSayGkV+XAvowQySlu0hY4IRae2NCKUbw4D6T 8wC0UJDoXCcR+wMy14Hv5j6HdRlT/MGyy021YorEEHjJk2IqXoJtio2UNxvdNlGmVEm/ QrGA== X-Gm-Message-State: APjAAAVA35kf3rJauil0ND33F2/GmF3Ngt0rCp3/AT9bOfoUyhJsFNWq 7Wpp5MBMVGXPfX7LhWWdMXHrjGFUdygAx5A1RwbAqucN X-Google-Smtp-Source: APXvYqyy+CO1qr/V8Zr5Ut9QgWLzXQlkre5EVin8ScDiyPUix37AJ9AJfM8PK7eY3vkElJjab7FrmwoUc5tOzmNaY04= X-Received: by 2002:a1f:32c7:: with SMTP id y190mr25939558vky.15.1553891600568; Fri, 29 Mar 2019 13:33:20 -0700 (PDT) MIME-Version: 1.0 References: <000301d4e312$06a88190$13f984b0$@roze.lv> In-Reply-To: Date: Fri, 29 Mar 2019 21:33:06 +0100 Message-ID: To: Andrey Andreev Cc: Reinis Rozitis , Rasmus Schultz , =?UTF-8?Q?Johannes_Schl=C3=BCter?= , PHP internals Content-Type: multipart/alternative; boundary="000000000000df16ab05854194c5" Subject: Re: [PHP-DEV] [RFC] Deprecate PHP's short open tags From: george.banyard@gmail.com ("G. P. B.") --000000000000df16ab05854194c5 Content-Type: text/plain; charset="UTF-8" On Mon, 25 Mar 2019 at 20:42, Andrey Andreev wrote: > Hi, > > On Mon, Mar 25, 2019 at 8:02 PM G. P. B. wrote: > > > > On Mon, 25 Mar 2019 at 16:38, Andrey Andreev wrote: > >> > >> OK, so why not flip it and make it always available instead? I'm aware > >> of the potential XML conflict, but I've personally never seen it, so > >> to me that looks like the lesser evil compared to a massive BC break. > >> > >> Cheers, > >> Andrey. > > > > > > Technically this is already the case, the default in the engine is to > enable PHP's short open tags, however both INI config templates provided > > with PHP (php.ini-developement and php.ini-production) disable PHP's > short open tags. > > So if PHP's short open tags are to be considered "full class" open tags > this should be represented in the INI templates. But I won't be the > > one pushing for this change. > > > > We're talking about removal of the INI setting ... Aside of saying you > wouldn't be personally pushing for what I suggested, I don't get the > point of what you wrote. > > Cheers, > Andrey. > The point of what I wrote was to clarify what is the default value in-engine of short open tags. Also updated the RFC with the fact that using PHP's short open tags may leaks source code if used when those aren't not enabled. Best regards George P. Banyard --000000000000df16ab05854194c5--