Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101842 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41366 invoked from network); 12 Feb 2018 14:47:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2018 14:47:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=tendoaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tendoaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.179 as permitted sender) X-PHP-List-Original-Sender: tendoaki@gmail.com X-Host-Fingerprint: 209.85.161.179 mail-yw0-f179.google.com Received: from [209.85.161.179] ([209.85.161.179:34932] helo=mail-yw0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/F1-26725-DE8A18A5 for ; Mon, 12 Feb 2018 09:47:09 -0500 Received: by mail-yw0-f179.google.com with SMTP id l11so6837981ywh.2 for ; Mon, 12 Feb 2018 06:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=iUv7DjV4fhqFb8RmY7DKkvVnIkwHhtZod1AB2K5CE7g=; b=aGYAdjCdShHD7VO2rozjoPxl2eRHL3JTmAyaMrbWks40ztMG0E9yBEIc80Wozk6Xu6 jTm+jvogB9BFPrwEv5T6UjEwmhuQq3zXEo48nM4UlwDS0Kw5eIsXv8+YPF4lrGLfaw35 j0ijt9pdzPSZk1XcvcBFbOdvaPf024nMNDtddE+rmCXUI5e21eD+YNYtADPtq7D1KnvA 6SXCaXc93lFlK2uqicNXznIVuKuVMhSxsSkOrlP/vQjYrp9Wik+DBh1SsuMi0U5rJQXz 3TUwOvJSvAz2OJTxjqrFSC1WGSAzVokyHsDAqLpntHf8RYAr+2oTrZKhvIU2PH1R19aa 8ksw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=iUv7DjV4fhqFb8RmY7DKkvVnIkwHhtZod1AB2K5CE7g=; b=n2+VBtHSIJ5EpaADabOPI2tsfWj3JACXR7jwNlUogTpfEVJqulzbAe6PJMxi3wnWb6 lznMwNeYgiQ6l+jY0JVflIFqm4BWRt3XLobWHemBqH9EcTFNaRH0LyLaeEG1jrMAbl0h jnzmBn1Sx8vM4xH2ikzsCnGnMA/HLSzLn79d5N1V0LI5eZ98mHgn1XdmwbcuC6WmEZ6j ZkwCIJ22qkVQqbHJNTvKNcU8n9LyIZXLZmPJ681RFUaMRB6lB1QlfXSbxkJZWf2ZkMMM /asFMoxMCQJIauhCEncr3dEJgm6gCpOiK5AmDuauDfY1NDzcsc+2ufy0dAogAdwNf9rr G5sw== X-Gm-Message-State: APf1xPDFLp3yEGjGJMjnqZgmw9eDzi9mpgZZ+vcy5GqczeDKPGEwS459 wLyg5CG7ajdQJns4JUvOI4XObqtzsKXtWYShsNE= X-Google-Smtp-Source: AH8x225kvUfB6vIcQJaUplwBl2IzhOKEgnZ4Unp5a8jwD+/Xr4joPsGizlk/Usiq6i1YKGk2mRq7Ke7Fq2XfT3xvTLc= X-Received: by 10.37.229.67 with SMTP id c64mr7649145ybh.131.1518446826575; Mon, 12 Feb 2018 06:47:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.206.137 with HTTP; Mon, 12 Feb 2018 06:47:06 -0800 (PST) In-Reply-To: References: Date: Mon, 12 Feb 2018 08:47:06 -0600 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="94eb2c087652b55bcd056504f314" Subject: Re: [PHP-DEV][RFC][DISCUSSION] Deprecate the backtick operator From: tendoaki@gmail.com (Michael Morris) --94eb2c087652b55bcd056504f314 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 12, 2018 at 8:38 AM, Eli White wrote: > I'll chime in on the "What evidence do you have that this is not > widely-used" ... in fact, I have seen through my PHP career this used very > regularly, and training/workshop/class sessions at conferences still > regularly teach this as the 'standard way' to handle shell commands. > > So I think that this would have a huge impact on existing code, and I am > similarly a huge -1. Is it funky that random backticks cause a shell > action to happen? Yes. But there are a million funky things about PHP, > and we strive for backward compatibility when at all possible. And there > is no direct gain/need to remove this feature. > > Eli > > Agreed. There are a lot of things in PHP that are easily overlooked and can go unused, especially if all one ever does with it is web page generation. PHP can be used for shell scripting, and I've used it extensively for that since I don't know how to write bash scripts. I'd personally be rather peeved if I had to rewrite all my shell scripts. --94eb2c087652b55bcd056504f314--