Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106069 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 36273 invoked from network); 26 Jun 2019 12:20:04 -0000 Received: from unknown (HELO mail-io1-f47.google.com) (209.85.166.47) by pb1.pair.com with SMTP; 26 Jun 2019 12:20:04 -0000 Received: by mail-io1-f47.google.com with SMTP id m24so327757ioo.2 for ; Wed, 26 Jun 2019 02:36: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=DOUyFN1XZyX+DPH0ARpUAlWwUFFEoNEazkFpZOdBqBg=; b=SaxXVWtUxl4q1B3gqP+i53UF4Ubz1YhrUkJr0LZJEsVJMflbIzMPkovX24fAKnGhBd rwlcVtSphS4I2OS5ESCKPTq2b1Ut4oPlPxnBfkEJQhuoas/mZtLPSnyq7P0JF87CiDTp QCJRebg71UqZlr7m0lnzn8m8PsXrRAPnuA3aSMZbuYDwepaPhdTCIIfjRaFOK5kikF9P UqrwGBxcR+sXKUyXuDU9Z28NJEVuQxmQd5boxZ5GGQ1o0mnw9wL0bqHvveczGlnDB09+ r/LZ8LcjoiJBcxt0wN7g8O97WE7On0OXtwAVq5IKg2FZBeq6Y9at/LgS2r5IpWGiLsZ7 3lFg== 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=DOUyFN1XZyX+DPH0ARpUAlWwUFFEoNEazkFpZOdBqBg=; b=JzB54yRO/d8zqCIZqsXMI81kJ2OWhyHu+xcHxCcXbyDvXxCGUgPSY/HTQCmStrCtDB LBROMqTpgcrS9S54FPDQZCo+pznoI3oB6bLHuI/oHc91bVTKnyCYjg0ypx7s94XfXCZY tYFm04NYmCZWajoplCz07Jrh/BHHaP9V/7pP8JPjM1RmE11yVSI92Mptw/MB5PmYBHUb qlhHRwjNve9ohSzRzwLwPlEM4yzvfpBZ55Sj2aV+F8Po7cIOidJ7WKkjpNX5r1rmF1fq 0xhtnFICNdyuhkNrSDmTerlsrK47sPsuvdcS/vcc7tm/RfubOtab1i5BEJbAnAmg8ESX jXgg== X-Gm-Message-State: APjAAAUU7K6VAv8a3QpBfAlXLzx8d+6mvG8fBy3m+frpvwx6KQKgc/nI 0TNs1o4KcbPBCj7CVJRK0eN8D4tFT9wvqt8YRXQidoz65aM= X-Google-Smtp-Source: APXvYqx1pkNutXNjwPwZjKYVEFnudYBBOSB2c1DD92fqfz5cTnWapzGYA9Lcjl8i4jSTjTKDeFy/5IuM0W4d2qyzoz8= X-Received: by 2002:a5d:948f:: with SMTP id v15mr3653750ioj.93.1561541785634; Wed, 26 Jun 2019 02:36:25 -0700 (PDT) MIME-Version: 1.0 References: <6D1026FF-ECF1-4604-91A8-D290D37CC238@cschneid.com> In-Reply-To: Date: Wed, 26 Jun 2019 11:36:13 +0200 Message-ID: To: Christian Schneider Cc: PHP Internals Content-Type: multipart/alternative; boundary="0000000000006f4ceb058c36c768" Subject: Re: [PHP-DEV] [RFC] Strict operators directive From: benjamin.morel@gmail.com (Benjamin Morel) --0000000000006f4ceb058c36c768 Content-Type: text/plain; charset="UTF-8" > (...) could be the case depending on a declaration somewhere else in the source code. > That's the confusion Claude and I were talking about: You cannot be sure what a very simple line of code does. Oh, I see. You mean that only replacing some of the current results with TypeErrors would be acceptable; returning a different value would not. This makes a lot of sense, but once again prevents the language from slowly moving towards something different (and better), leaving it stuck in its legacy forever. I'm starting to believe that a joint effort to fork PHP if the only way out :( Ben --0000000000006f4ceb058c36c768--