Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108810 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91544 invoked from network); 2 Mar 2020 16:51:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Mar 2020 16:51:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 56925180210 for ; Mon, 2 Mar 2020 07:10:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 2 Mar 2020 07:10:27 -0800 (PST) Received: by mail-il1-f176.google.com with SMTP id r4so8236189iln.0 for ; Mon, 02 Mar 2020 07:10:27 -0800 (PST) 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; bh=+AkRxczx8S+078CHgk8qKtbz34vjPVVB1bDqbsVppm4=; b=lul1wPx6wodViiBUI2k8q9NIbX0jJTfnwMwelNZBhjcCaLlA1D7pjWR2CJB6MEFa+A 8w21T1uQcc+SjNLgEpRJJpYRXP+8NDwJ97U2bK2wGhHQt2Wabx6W8JJGv2P7imy8aD1S IBK+VX8Dl2BbHniB9aA3y6Uv6w6EcUmgaZtppkXg10GqikAj64o2WJIwXo1U+ZeJPoPV JFvlaJbq7jAF2artZbU8Z+oRdZUgxqjm1GKS+4efaVL+99bGX9/rMJjJdTYZxL4ppgv1 RGbrR7ndc8MYujLCnBdLTtPClwGrD8h9QkAUguc8pKWmieq0PJ1J0UbisCls3KJu9gWP 9Ubw== 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; bh=+AkRxczx8S+078CHgk8qKtbz34vjPVVB1bDqbsVppm4=; b=tfwbkYn49Xm7c1iPPUMfvKE1nhnzoDxrHdDiM//lETtNz9aiSwbBsK6l7L2hEOp5iK Q2jzirbUSOOYeLgbGJZ9tZvn9FWCPEZdI8GBciIyUME8OftCTv7heuHn81pObFfqVIkf yY9VFYsZHYkAPFtWbkdYe3MHuqbLuV6TZMwkMENxB+dx7JkkaVgic9w47OvQU4SqLGap ZTgse25spGx80kDg5zqjweHXUtGOLM+QcjS92KqAMigp5mCiFlhzZwz0g8eel9SsSpuE pVg10mrIYbCesvy5b1RG9G0kMv5kcEo47wPP9pztcddGK0CI1gq5uZSjuL+ScViWlYzI 531A== X-Gm-Message-State: ANhLgQ251gn5c+nF18OIoR9uUkhS3XfAyNJq1u7yFdgvuHkDqUHQiGXE Nu6nTDxt1OGxGluosyPkf5CzHYiB6R8NL2lPWu8Grg== X-Google-Smtp-Source: ADFU+vsl64SKct4RSPpxNsV0+QPBmZ0lHrrEkxsqKRa5lJJoOtGv8k10BTSqqWKFqIgNvA2vruyiJvX3cseOJSTZxQ0= X-Received: by 2002:a92:8808:: with SMTP id h8mr38744ild.253.1583161824168; Mon, 02 Mar 2020 07:10:24 -0800 (PST) MIME-Version: 1.0 References: <3f615d82-a84b-697b-5c02-8d915270f92c@gmail.com> In-Reply-To: Date: Mon, 2 Mar 2020 15:10:13 +0000 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="00000000000026dc04059fe0962c" Subject: Re: [PHP-DEV] [RFC] Increment/Decrement Fixes From: rowan.collins@gmail.com (Rowan Tommins) --00000000000026dc04059fe0962c Content-Type: text/plain; charset="UTF-8" On Mon, 2 Mar 2020 at 14:46, Marco Pivetta wrote: > > The code above is NOT going to pass a code review. > It may not pass a code review *from you*, but I don't think your high standards are a good benchmark for the way PHP is used throughout the world. Let's put it this way: if my RFC passes, and the following day an RFC makes it redundant by changing integer coercion in general, I will be happy. If an alternative is proposed which makes -- an error on arguments where both -1 and ++ are silently accepted, I will voice my dissent (I don't have a formal vote). If you feel that the BC break is too great, even in the null decrement case, feel free to vote No, and keep the current WTF in the language. Regards, -- Rowan Tommins [IMSoP] --00000000000026dc04059fe0962c--