Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104938 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48945 invoked from network); 25 Mar 2019 18:45:05 -0000 Received: from unknown (HELO mail-wm1-f45.google.com) (209.85.128.45) by pb1.pair.com with SMTP; 25 Mar 2019 18:45:05 -0000 Received: by mail-wm1-f45.google.com with SMTP id h18so9627462wml.1 for ; Mon, 25 Mar 2019 08:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=oAsIFdPHbu8U0KSJP+fy6UaC6Vc14X+eBlajf3pQDB0=; b=LthcnPJoa1PduFetnpjUx7HcrxUMdcyNWo8sxr4Uv+1zWhYUoz04OHr4oFLHkpitKZ C+N/O+bYxHyzjbDj8rAextDDuLxp0uX9wFJ+DTmq9IWu8qD9HqUf5gesWTgzZE11wVfp AozRWHAmC8UzbDcKWMzk2OHQWHu8iJR6/vgYk= 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:content-transfer-encoding; bh=oAsIFdPHbu8U0KSJP+fy6UaC6Vc14X+eBlajf3pQDB0=; b=XMVo3PcFSo3b9foHZraZa3sJuyEMziuDTEomkt51iEmhZVmASJEa+kSXNzDd3DKuQ8 ouVMvjIr6o06/qxFDPMgOw9E1GqhsRZGPy8RH5rMbNeOUWdB5bt7tjMhYMGY2BTP0XQv LRUv4EXHSkXOJ4rWiXXOtvGvzxill0x8Fc3+mCbaeex2OQ22NLGtiKm6lHcRumUeRXyt mjLHoj+3ML71V/+ZEQ6mprhqgeG+4mTLtZwPFx8RiGUPotpfr1YDT3trzRzsOMQNDSMC bZ3laoQfL+2QBR5TdX+Y/kpR4cK4P4VhNQSAHP3Q5eSLUL4uyPcNoZXpbhLTfzAAWG3J 6A7Q== X-Gm-Message-State: APjAAAWa7wgppiGBevME4iKZyLpmlu3PfMptE/kSxkUHp1oT5wFlkx4H zNkSBP9ZD8KpwRHW7xPZr6AByPY7THlWUDkS9iuDhw== X-Google-Smtp-Source: APXvYqw2HRpSPsHauUZY8Ybi5736/tUMNYjW1JoNS/GFuFZB6OQZhgSDn86SjO3xK2ZLseHBBfiPB2sLjUKS7fTO/A0= X-Received: by 2002:a1c:9691:: with SMTP id y139mr5534946wmd.64.1553528294931; Mon, 25 Mar 2019 08:38:14 -0700 (PDT) MIME-Version: 1.0 References: <37adf4e9-58f5-bfd8-fac2-94523e192d00@gmail.com> <1553526929.28717.6.camel@schlueters.de> In-Reply-To: <1553526929.28717.6.camel@schlueters.de> Date: Mon, 25 Mar 2019 17:38:03 +0200 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Sara Golemon , Stanislav Malyshev , "G. P. B." , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Deprecate short_open_tag ini directive? From: narf@devilix.net (Andrey Andreev) Hi, On Mon, Mar 25, 2019 at 5:16 PM Johannes Schl=C3=BCter wrote: > > On Mo, 2019-03-25 at 09:38 -0500, Sara Golemon wrote: > > > > As we stand now, code using short open tags works when those tags are > > enabled. As we'd stand in the future, that code would not work. > > That > > level of BC break requires a strong justification. > > The code would not simply "not work" but even potentially leak to the > client (as PHP would not treat it as code) which could leak credentials > or other sensitive information. > > I still think that long-term goal should be that language behavior > doesn't depend on ini configuration. > 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.