Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64168 invoked from network); 6 Sep 2016 23:24:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2016 23:24:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.52 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.52 mail-pa0-f52.google.com Received: from [209.85.220.52] ([209.85.220.52:33531] helo=mail-pa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/04-18051-B205FC75 for ; Tue, 06 Sep 2016 19:24:27 -0400 Received: by mail-pa0-f52.google.com with SMTP id cm16so28130368pac.0 for ; Tue, 06 Sep 2016 16:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=rUm6k3U+acXBPjRjWttPnoIwhm7gzZG+9c+1SUC8eZw=; b=bQUYO3pIoo926ICN3V3NMTX1ummIGaw5kUWL4/laAewjPSv8vUhsMvHH8YHHSBF/hj Hc9fM2sTXFitF6tfex1VsP0WztFkm/P4OWFnz6446KUiEdM741HFTBN54z+C3Vu8zqa1 kQJiJbDAt3yGeDsF65HqxoGUq+ecSBPLgpv8NlGSBPQdeOlDQQ55CItAIpgppCM6hZlO XTjy3h+V7UnNYnBw/sAqcVDrnwruEkTRO5TW4yTDzFHUZGYnZikxaxW3IYD89uvBn5iF D0787yJX2ai1ZJDin7HnUEWVY4U9MppFrvTF7oCMdaqRBoAQj/0CnQdWbrTOEi23pyhC +wXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rUm6k3U+acXBPjRjWttPnoIwhm7gzZG+9c+1SUC8eZw=; b=nAZY46PIvsyN8jPqN9HmQuFMljfs1qFCu4vP3q6DJt6oDpPtXZpvGtFIrcS2C1WvkS JYXK8ZFZ4Jz4LEtwZIAOkva0+npUvR+h19vfhbA/SMtdxDammL0WIrkmjcKdhbSE2FdE HAhT1MHb/XMdHIDWc/qrgouleWiniyAkM6a+9acDR7gnn6cg4+yyWZ4Jd3tG/dGvOO0h zlvdFx0QLlPES2aYhvYe+MN+LaoUeL9xhkqHrcuYGfFsWIIF6lIZlR9U+KKHxpoZd2F/ ohHh+qjg1CgzJ70d7O7J90fXAyb12iv/o3aAXqTKxxvYhXOyBNKbOubDRh5K+kYS4USY xWQw== X-Gm-Message-State: AE9vXwOdXtyEaSJmAfhZMBH33oqgaG3A3SICFBWb1vu9wPfOZmJbBqohFgiBPzj/Ns4lqw== X-Received: by 10.66.14.161 with SMTP id q1mr77926599pac.103.1473204264344; Tue, 06 Sep 2016 16:24:24 -0700 (PDT) Received: from Stas-Air.local (108-233-206-104.lightspeed.sntcca.sbcglobal.net. [108.233.206.104]) by smtp.gmail.com with ESMTPSA id k9sm43415721pfj.63.2016.09.06.16.24.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2016 16:24:23 -0700 (PDT) To: Dan Ackroyd , Davey Shafik References: Cc: Andrea Faulds , "internals@lists.php.net" Message-ID: <02b8a621-b31b-d967-b7f7-b5c2b2c070fa@gmail.com> Date: Tue, 6 Sep 2016 16:24:20 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [PREVOTE] PHP Engine Constants From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > And then when the next people who want to build an alternative engine > come along, they will include this constant, to make their engine as > 'compatible' as possible with the current PHP engine. Yes, same things that happened to user-agent string in browsers may start happening here. But I still think that doesn't invalidate idea of having user-agent identification. So we just need to make it very clear what we expect from people that set this string *and* from people that use this string (e.g. using "if(PHP_ENGINE !== 'php') die()" is discouraged since then everybody would set their PHP_ENGINE to php just so that software would work) - then we can hope it won't be abused too much... -- Stas Malyshev smalyshev@gmail.com