Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106066 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28313 invoked from network); 26 Jun 2019 11:53:40 -0000 Received: from unknown (HELO mail-io1-f44.google.com) (209.85.166.44) by pb1.pair.com with SMTP; 26 Jun 2019 11:53:40 -0000 Received: by mail-io1-f44.google.com with SMTP id u13so3013309iop.0 for ; Wed, 26 Jun 2019 02:10:02 -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=g8YkgccZ0kYJIJprgkOAN7mlX+1+TejrFhCkvU0yOx0=; b=jTz8JwW0IDrWQe+j2dukl7O2u/rd8SPzFr3zmZnEUgouIcayPW9ZHpIN9lHh+PflqO kXOsDrUAD2wtFEBDknOzqOMNooAA2WlG5qYgnHNDO64/DPW/1t92bZHoZjWLd6cO8q/O 0bma0J4nTjbP5dM+t7UzcwAvefwahSZuHRDm1WlTegN0EdhqcK+LTC/S1IV1Ucy0ML8V ljSEddcB0Tf2hEWPN5sPmH7IX3p9SrHX6Xokemamzmr+/t5ir55p1dz5VjNxr5Ul6j3U 3A8VBSfeUeZoRsU+H5FlKC3SpVANCAOgo9vqGX/0ma2N8FarAcCrbGyq9D3X9EUa7uxP ynIQ== 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=g8YkgccZ0kYJIJprgkOAN7mlX+1+TejrFhCkvU0yOx0=; b=rmAjVcH5IgxSbZGXXTS15ByruhKN9aKnF2DNafh8y8xg8oKKnwD1nZ3S6qRzhdW/Gp wMt1Zr6biBATgTPPB00NZw4jyUH9PL378lYGiTpWsHS5836gkGL1nped2ZN26lx0CHwh lxOgOiOItUphSGOWR5Xf/Q+i1GX+z8mqyylrWxP7DqnT/ngFn//x+7VQ9rp43yFkQhlz EiZ7AvpnrOqJ0KxBHSd9VSNmHeVLrxoGu6rCR1cuGBAEyeWJBXxMZaUUFEXNEfmeK6xe Fab/TIXvAIODlxeCajOIbAly+ccIBMttW3FPMOLsndwYlNFEs5Yq55o4jOk9fA5iI61q tyqQ== X-Gm-Message-State: APjAAAXnh0K+6xM+8gKpvlrrlN40Urs1XnX2LNtnCENvvsOt7O8h/g9J GmmAhW8BOQfN8BcooA0Vg/E/OMdpvUdERiMsYdQ= X-Google-Smtp-Source: APXvYqw7GVydpGGIq8P5XQCzUTCiOMKls/fun5zIkBchXNxnaz8EiugQ7pf8L2SeQboz4EhYGCrjwTmZPEveEdL5d0M= X-Received: by 2002:a6b:d809:: with SMTP id y9mr3881014iob.301.1561540201745; Wed, 26 Jun 2019 02:10:01 -0700 (PDT) MIME-Version: 1.0 References: <6D1026FF-ECF1-4604-91A8-D290D37CC238@cschneid.com> In-Reply-To: Date: Wed, 26 Jun 2019 11:09:49 +0200 Message-ID: To: Claude Pache Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000071299058c366942" Subject: Re: [PHP-DEV] [RFC] Strict operators directive From: benjamin.morel@gmail.com (Benjamin Morel) --000000000000071299058c366942 Content-Type: text/plain; charset="UTF-8" > "120" > "99.9"; // TypeError > Anything else will bring confusion. Not sure about this, you can do it the JS way: if both operands are strings, then it behaves like strcmp(): "23" > "4"; // false "23" > "221"; // true I'm not saying that we should do it, but this would not be confusing to me at all. Ben --000000000000071299058c366942--