Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104981 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98676 invoked from network); 28 Mar 2019 17:11:23 -0000 Received: from unknown (HELO mail-wr1-f46.google.com) (209.85.221.46) by pb1.pair.com with SMTP; 28 Mar 2019 17:11:23 -0000 Received: by mail-wr1-f46.google.com with SMTP id k17so15107296wrx.10 for ; Thu, 28 Mar 2019 07:05:17 -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=9t67EB+U9S54ozUrUdUbxJf38TqwJTN8sdvA5F1AeK8=; b=Lo/viOdG4FX24guqW+6Umifn0pPst5uspduhpLPfoPCSZHvg1cMwtnpdwBwTsm7w2G xQopzR6kz7EBuZd3uFXZCjF4Pc9arnqWYsvW6C3Qyah5pNKYuHt7n61mwyJgtl5vL8nj rnMAElCKPEQgFhCwuxXypN9oQFu189hG9j0C5wxWtg7dcgd4rIiWKMYF4niGhHyL4r+z iC852p7SY99PQzVKvGRApXY2NNKMH4yHwUvP+8gWZ6stTrE4Y6WRcTfR0iE5Z/v3bcrp 38btHAK5BZracHsiGQt8WJ3+LaZbIREDHfHQ7cKHUx7spgko/hy/4dyuntnGWVMS7pHU hpyw== 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=9t67EB+U9S54ozUrUdUbxJf38TqwJTN8sdvA5F1AeK8=; b=FnkWHKrmM+uisQG6bnCfrMB6CzejwO2VG+5O/bwM9DW0FOnzClpkfLVHC6qI0CWKzp 4cEmILnuNVKsY64gq0VflA6X4XmK/bNufQThpF+OiKNQhDpY9V+KkoKcC/uaQTW3B66J bqH5Qw1vLMpZ9Vq6wFp1XcxxbBXpHEzvmyFT09TxkUQ/q70FsPJa327PLpYiIS5bSZv8 4nZel7WudsJGdEKuHiM2Dpal2jizuW1kBRiHyf7+kJs7yR20k1f/SeA5R5IeQvxQJVfH 66t3jB4BgXvZf+t1zswM59Vn4b+EdNXO4PAZm2LT+3xsuW8YNFEVKgrxKxyIQhUCTJIZ tk1w== X-Gm-Message-State: APjAAAVa1Qcc0jhaOSr7RmjsF4Vab8xXMhWYhItSQ7UooPk3FoSicbWZ favSTU6AOEfqVIRpDmP52vnmoU3406vf3GaunNg= X-Google-Smtp-Source: APXvYqyRm1pJUwCRSq6tTu0dbBFAniysfIAGaP19NB7D62rcJDWXODblaeR6HL9VpWSCao0oEtoBdTBb7EgzkwXN+SY= X-Received: by 2002:adf:f984:: with SMTP id f4mr25194860wrr.97.1553781916622; Thu, 28 Mar 2019 07:05:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 28 Mar 2019 16:04:50 +0200 Message-ID: To: Bob Weinand Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000032e2bf0585280b76" Subject: Re: [PHP-DEV] [RFC] Change the precedence of the concatenation operator From: arvids.godjuks@gmail.com (Arvids Godjuks) --00000000000032e2bf0585280b76 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, On the one hand - seems logical. On the other hand - makes things less clear when reading the code. With parenthesis, the code is made explicit, so you treat code like given in an example as a code smell. I'd encourage people to always use parentheses. But overall I'd say the change makes sense. =D1=87=D1=82, 28 =D0=BC=D0=B0=D1=80. 2019 =D0=B3. =D0=B2 15:33, Bob Weinand= : > Hey, > > I feel like concatenation having the same precedence than addition and > subtraction is promoting programmers to make mistakes. Albeit typically > easy to catch ones, it is a quality of life change at least. > > Hence I'm proposing a RFC changing the precedences: > https://wiki.php.net/rfc/concatenation_precedence > > Bob > --=20 Arv=C4=ABds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Skype: psihius Telegram: @psihius https://t.me/psihius --00000000000032e2bf0585280b76--