Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119316 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 68713 invoked from network); 18 Jan 2023 16:02:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Jan 2023 16:02:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F0C2D180548 for ; Wed, 18 Jan 2023 08:02:18 -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=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 18 Jan 2023 08:02:18 -0800 (PST) Received: by mail-ej1-f50.google.com with SMTP id vm8so84334314ejc.2 for ; Wed, 18 Jan 2023 08:02:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FTuuosibYX7SBADwtBYzAcFCjqgaxUezET8cGrlpW2U=; b=Gr/KzvXTYTIm3oXWVDO5oQa9biQGavATnw5HMtkigDsiL3miGq18MH4VfyaHztyRVu oJ2PFzZmFWhfDnmdnZi+dV8BjzpX+atngQwpEXudCFHo2hcYNhB5T83lnkK8MGxjcy26 kXve7AJodsvkWyNDj2TExDPPmbbryiDEmnPyVPqRtqGX/Y4OV+oHrGPt7Um8oDsaS7Oc nuhSfjH3ttmTxqzMQBEOCPk7zva7TblLMFYPKLS6qoNMK1EI0ZCBorYLGF2SE0+8ZdPk RAZxwWi0GBcGEcpzgji2GWcLtJUZvJeeIszHheKsFpJeKvuUlhYZoHzHX1uCZReSLWEY kQhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FTuuosibYX7SBADwtBYzAcFCjqgaxUezET8cGrlpW2U=; b=11zqnvEL91cSmgduVjQLgW7QGVvM0G7IhMPr2ui6cDu+ZoV9mcBzP+Q/O6bMSC3/5E l8m8COXcQMd6yU7C7+wSFWwTkQX3dvTivz+isVPdW0j/yWAJquUeUyblQGfVrwZLf8Ix WXM0/wHjB4MwAHp1Np5Ce/wCwjkD3WB2aIcnrDMKlY27ba45bh84MktmpASsCA+Ev9Kr W/+paxY+U6OetuluhFVFGmsGGbRRjyW1UwMrVzAh58Pwi1Pvg22Wnlqk2Adva7QQ+t20 1+Pb4GcOEZ60Be7jbRLCszQ1ChUByARJV2hIVHMa5/r13luTLQBHz7jQN49A8lADjQrG 7c8w== X-Gm-Message-State: AFqh2kqfnfz9ILt+hlYeEzV9Fx5FsD2/D1+bFmqvghLBjpkaGSA27dN/ hfon9wq/P+0478Ie7gIfGDM= X-Google-Smtp-Source: AMrXdXsn1iqF7MKvGSLvAzgNYX9/WuqnlSGdXm/s8miCmPZPNgVYMxcYMflhcUMbn4cvc1Pwys79VA== X-Received: by 2002:a17:906:8608:b0:86b:9216:2ddb with SMTP id o8-20020a170906860800b0086b92162ddbmr7457189ejx.52.1674057737517; Wed, 18 Jan 2023 08:02:17 -0800 (PST) Received: from smtpclient.apple ([89.249.45.14]) by smtp.gmail.com with ESMTPSA id 2-20020a170906210200b00876479361edsm1432436ejt.149.2023.01.18.08.02.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jan 2023 08:02:16 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) In-Reply-To: Date: Wed, 18 Jan 2023 17:02:03 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <93F17C1F-A45F-4E33-8002-E1280D4F47F9@gmail.com> References: To: "G. P. B." X-Mailer: Apple Mail (2.3731.300.101.1.3) Subject: Re: [PHP-DEV] [RFC] Path to Saner Increment/Decrement operators From: claude.pache@gmail.com (Claude Pache) > Le 17 janv. 2023 =C3=A0 15:28, G. P. B. a = =C3=A9crit : >=20 > Hello Internals, >=20 > I would like to start the discussion on the Path to Saner > Increment/Decrement operators RFC: > https://wiki.php.net/rfc/saner-inc-dec-operators Hi, Adding a `str_increment(...)` function that roughly replicates the = current behaviour of `++$x` for non-numeric strings, is necessary and = sufficient in order to have a simple and clear path forward for those = that use the feature, thanks. (On the other hand, a `str_decrement(...)` = equivalent is not useful for the scope of this RFC.) =E2=80=94Claude