Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106401 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 78129 invoked from network); 7 Aug 2019 01:18:41 -0000 Received: from unknown (HELO mail-ot1-f53.google.com) (209.85.210.53) by pb1.pair.com with SMTP; 7 Aug 2019 01:18:41 -0000 Received: by mail-ot1-f53.google.com with SMTP id q20so96555962otl.0 for ; Tue, 06 Aug 2019 15:45:26 -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=lca6h+WBxVtIBR6gQF3c6cHLYn/q/DN4SfrEj5eWtmQ=; b=sXITXZN3AnmaafgftdpxYt2P08rmusxJgfGWGloSzU7b7F4yslUscQVvYTJPoZZsLs LbSP3lU3EqPSRvrDPaRwJb7YMOzQiCNSb32+l9ckzIePXptwPFzGZWsQvlmoKOfilSgQ b2NezM3yCSW7SHw50l4x8BHe//fOuf8S824r5H2bmbrCaHLQHiN7iC2TOSf7YB/Mnk36 jrVll3m56GMAFjM/S1q5h6m2kLhBGqfyipS2eeXKfC3K1jZQBRq9jIrEDlPIM9qbsSa3 JRc+IpuPvtH/mQeEKcygowjoIqxNt2OVnEHxveBphx5rVoNmafzfyNxQlmkGGawNQsCe AosA== 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=lca6h+WBxVtIBR6gQF3c6cHLYn/q/DN4SfrEj5eWtmQ=; b=rI6d0ipVnP0kV6JWRZcsNloIjsLwiO3JSShrZFszQ6K/c3kJ3apd1MPWXuU3NYma+u b4663RuxH8igHCLuvubyiWQ3KIFQ79v/1e0T6STcRBZvwdZ7WvrsXmha7GbApQe9yjKD h+wipBySbBg8qvlZ/vLcwrWdcyfg+ft4TG6HUN52wzNMj7d1mwLJ739DuwnDiLN7ajJb hjMHdivQygxqX1oKsIVfY+8SjBdW0H9c2I8ECG8syMlK1Dp82sfoI0eKDstQ8Nk1l7V/ c0WBAv9RC5oCZFBmeCqpjaMp8PQkrrN2pB2fTDSp64Ki0aB4sqiVu/x28WZ36RWkHUkC M7OA== X-Gm-Message-State: APjAAAVDHPdniTkrpDykEwLpcpTM6sMevty7COGDtU92oFE1G/BjkilA wYNvRdoA3X98oqmxVIIaiD5/jS/94HZXF0XeAtc= X-Google-Smtp-Source: APXvYqylnCfEF7Eafa9jb2ZJotUI5w03hVaRJNS0m+ZdvSyAVu8awjQYoac2KqscjhUxaavty2titzUB4Wgp5nRjgCQ= X-Received: by 2002:a6b:7401:: with SMTP id s1mr5724081iog.67.1565131526365; Tue, 06 Aug 2019 15:45:26 -0700 (PDT) MIME-Version: 1.0 References: <31F25B65-D8D0-4F33-97A9-C978CBA8A7D6@gmail.com> In-Reply-To: <31F25B65-D8D0-4F33-97A9-C978CBA8A7D6@gmail.com> Date: Tue, 6 Aug 2019 15:45:17 -0700 Message-ID: To: Claude Pache Cc: Nikita Popov , "G. P. B." , PHP internals Content-Type: multipart/alternative; boundary="000000000000a7eafe058f7a94e6" Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags, again From: walterp@gmail.com (Walter Parker) --000000000000a7eafe058f7a94e6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 6, 2019 at 2:55 PM Claude Pache wrote: > > > > Le 6 ao=C3=BBt 2019 =C3=A0 20:46, Nikita Popov a= =C3=A9crit : > > > > On Tue, Aug 6, 2019 at 1:34 PM G. P. B. > wrote: > > > >> The voting for the "Deprecate short open tags, again" [1] RFC has begu= n. > >> It is expected to last two (2) weeks until 2019-08-20. > >> > >> A counter argument to this RFC is available at > >> https://wiki.php.net/rfc/counterargument/deprecate_php_short_tags > >> > >> Best regards > >> > >> George P. Banyard > >> > >> [1] https://wiki.php.net/rfc/deprecate_php_short_tags_v2 > >> > > > > Side-note: Even if this RFC fails, we should probably still make it an > > error to use we > > may flip the default to off at some later point in time. The current > > default being "on" despite their use being discouraged is half the > trouble. > > > > Nikita > > > That would mean in particular that XML documents could no longer be > preprocessed by PHP without boilerplate around its `` declaration= . > I doubt that this is a more acceptable breaking change than deprecating > short_tags. > > =E2=80=94Claude > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Why would you want to use PHP's preprocessor for XML? Why not use the right tool for the job? Such as an XML processor that could also do schema validation? PHP has XML processing packages. It has been a while since I did XML processing, but I don't remember the packages being all that difficult to use. Is this a mixing data and code into the same file problem? Like HTML files that have PHP embedded directly in the file? Or this about stuffing PHP inside of XML documents? Walter --=20 The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandei= s --000000000000a7eafe058f7a94e6--