Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102736 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66077 invoked from network); 10 Jul 2018 21:25:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2018 21:25:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.48 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.48 mail-wm0-f48.google.com Received: from [74.125.82.48] ([74.125.82.48:55604] helo=mail-wm0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/7E-15421-E34254B5 for ; Tue, 10 Jul 2018 17:25:18 -0400 Received: by mail-wm0-f48.google.com with SMTP id v128-v6so403480wme.5 for ; Tue, 10 Jul 2018 14:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=/Y635ssX+mQrGtT7DIaNZyuEn+ufZVur5LFww88bz9Q=; b=BSyYxQn4XEWXD1LuAuHnhbieSMht5w5r6kOXHsGXRL0cWHO/snisabdkZjJoUsgeZR E+rSJzZ+BWtSAAipPgDLqMQRtN8qQLSocCFvs1TrYuzNETjgt1r8aALmJRR9PH78q9Oz 462bl8uWW3YCR93mw3Xp/NI+6kOKz5ih0HKbtPMuJsQbr6n+RjX6X2tHpdTJzZbfgs91 +gpdfybJic7caLI5tPlSuUKkWEo6xJXPPC7W9z45AHnBPgF0DKj9ChtAGjK3+e5JSeUd rmkBCAjadrr/nLPui+7VchkujRSxcd0IjmiWwKPknIPpSy5x+lkEt0PynvThNf14DHTl Rfig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=/Y635ssX+mQrGtT7DIaNZyuEn+ufZVur5LFww88bz9Q=; b=MSg9Dj37Pyuyr7XYEtnxHstIBnxxgDGJZHxVnn1yntI4CRfN+yqpcBgxKLxTggT5qx 9g1RQ59beEIAb9jxRPCnP12dqInKSYesPFGKDet95dpASXd3eHD3WpKXd1eiRHUVgzlR EiMm6kKUl8s2tCmo3yIQSPuaU9yDh+pue6ZOqJidn3i0HNLqxoFyHW3XxXCa6fA/7XGg 8tzuNDj7EudCfphVpU0ISxONNBvt8SrW2GVp14s8+WxbqQjoN8396TYdQfuBoIO9cxa9 G6FgVOMMe5FKrtEz1GrjxFpRTwO1ZiM87+0Ln+H1Y5xZys4y57IBEUtsotiHqbbW6EeJ Oz9g== X-Gm-Message-State: APt69E3exKVscYpGt8eAIaeV6Qkl8OqNF5mVKD1nBT1FL/7aoygzKT8Q o/QgqPa/W2kiFD4KYy5YW3+5ECOA X-Google-Smtp-Source: AAOMgpeZIssfTDDWIPtGaFJKp9nW8euM9ZAnhoD+1pLF63W8G4ZekH3KScfmwt81ngbXEPf2uVRdiw== X-Received: by 2002:a1c:790b:: with SMTP id l11-v6mr12093948wme.66.1531257914928; Tue, 10 Jul 2018 14:25:14 -0700 (PDT) Received: from ?IPv6:2a00:23c4:4b86:4b00:b834:27cb:67d7:162f? ([2a00:23c4:4b86:4b00:b834:27cb:67d7:162f]) by smtp.googlemail.com with ESMTPSA id n8-v6sm22471405wrt.56.2018.07.10.14.25.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 14:25:14 -0700 (PDT) To: internals@lists.php.net References: Message-ID: <626762e8-0479-f251-6b2a-10fc34af88fb@gmail.com> Date: Tue, 10 Jul 2018 22:25:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] Unifying logical operators From: rowan.collins@gmail.com (Rowan Collins) On 10/07/2018 20:38, Michael Morris wrote: > While having these behave they do is unfortunate, it is hardly the only one > of PHP's quirks. Ever looked at the ramifications of loose typing with > comparison?http://phpsadness.com/sad/52 Eugh, I hate that site, and I hate that it's so widely linked as though it's some kind of well-researched resource rather than the ramblings of one rather opinionated developer. That's one of the more reasonable pages, but it's still an awful lot of words and spurious diagrams to say "coercing values means comparisons are intransitive in certain situations (most of which you'd never notice in every day use)". Regards, -- Rowan Collins [IMSoP]