Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124264 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 045551A009C for ; Sun, 7 Jul 2024 21:01:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720386188; bh=DUGP5xCbleAn47DTIFEtdoIfFBhon2NRkzkoU+OFjGs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VVIUzAn5imlgDsnawWsPpnLm2fC29MV11zZFVqQBAR/6S3FSIJcpRbgi1DAY3t+Xx cpiz4B55HF9k5Gprq0TKpFHBySSSZzNPyd7fbi7TElRk18RCXEMIrj49UHpXX3lkZY 0HGIyHMGvv/DGFeGmTIThtvCHQkq55PNIncR8hOl9mD6G7BiCfixTmXmZtGx3gBbQR 76GyTliUQmdhjPeW6RGHtJJ5UgJOPcbGnCJfakXYjqOMt7uii7DGu1/jWHZwuyONBv iMfu56v2lwiDxBukPIQ9xqowH8Nfz8XCrtAEIMRCBAnYRZuu3IiWVhrgoz5LupnCPf ncOdKV7GYNp8A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5CD55180390 for ; Sun, 7 Jul 2024 21:03:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 7 Jul 2024 21:03:06 +0000 (UTC) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52e99060b41so3436701e87.2 for ; Sun, 07 Jul 2024 14:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720386101; x=1720990901; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DUGP5xCbleAn47DTIFEtdoIfFBhon2NRkzkoU+OFjGs=; b=adDMWd0PFN0GRNlmAgqje6letKY01ENfC8tUflIinUEya7FQhWWFWEdTbt893Trjed nGPEx66mOCZvHHRqq2EUa/Q/GdPqqeXGoFe7irBWmRt1tnokEu/koe4ELFSiXB68ExuP Wo91kEmtV4PQrcbJjlB4RPKLK+5NSdZQ5QJJnchHTP+fpp/otiGG0SUTIYFz/8NF2C/X 8wPRMQ45a8cXPh0uV8pEuTzR2S3kujoeslg1Xy6bb9gaz2TekTYOjmPpFf8uqD/aABPj BfD5BzTMys6LxbgdruunChN4+GeiHkYtIfzFi1zXvP6jkxcXNLB25qhDplfMZW+vpew4 md2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720386101; x=1720990901; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DUGP5xCbleAn47DTIFEtdoIfFBhon2NRkzkoU+OFjGs=; b=F0MveGc1ATZeJyZ9DH/KjPm7iBLSkeFrQ8LVWOC2KBq/Vo4VMktxLbLY616NUzrj+j AZfqn4FCl8G1vxrg0v8xkmP6k0Uj777W+7xbyzo+ncuNR+QC1miwLQxTrZcO+fDDQqRE Px4i8wT65wXUJLKfdyN2g5xLuEY4+h/8dYv/EHLjbzaKifaFBbJDxtVDRpW0rAYNd3rx CKb4LpuT460F4LQdb3/g/WdpPK8sagmumfyEvuX//1NMIqtz0XOpDULV8NO/VMeZNDFj n1UxKCh3Pa9WxbKt0RgyLnDc8CWXS1rc+QuU3ex3Rt+sYMOvjK1oBrXPFSyFMg97FoHa anOA== X-Gm-Message-State: AOJu0YwR0e0Au0HkIjMI0iPoZ9o3x89j0WFhkMLKLRqAD/XvtzQQjrK9 xGLhJ5rDUFEveXqB8qH9eO7P8inDM/SvUNSM3nt3Te1CEUVcf9Smp3ak/swijHG+MFiSQyZeXKc tiQieZxikuuSZ/DrUb42xDmO4VBo2Aw== X-Google-Smtp-Source: AGHT+IF3WXxrh0dFmWEBdBx+V28KSiDvUAvEgT/KP1sH7kN7aoMx1OKtwz1SAn6uVIJ0SmzxgOyrWN9zsDsI3EAVgds= X-Received: by 2002:a05:6512:3da3:b0:52c:9468:c991 with SMTP id 2adb3069b0e04-52ea061ab9fmr7847707e87.14.1720386100520; Sun, 07 Jul 2024 14:01:40 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 7 Jul 2024 23:01:27 +0200 Message-ID: Subject: Re: [PHP-DEV] [RFC] Improve language coherence for the behaviour of offsets and containers To: "Gina P. Banyard" Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000065ed8e061cae9acd" From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --00000000000065ed8e061cae9acd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Gina, Impressive RFC! Le jeu. 4 juil. 2024 =C3=A0 15:55, Gina P. Banyard a = =C3=A9crit : > Hello internals, > > I would like to formally open the discussion on an RFC I've been working > on for the past year: > https://wiki.php.net/rfc/container-offset-behaviour > > As DokuWiki is a bit of a faff at times, the Markdown sources are > available on GitHub: > > https://github.com/Girgias/php-rfcs/blob/master/container-offset-behaviou= r.md > > The implementation is basically done, other than some mysterious JIT > issues that I haven't been able to pinpoint yet. > I don't see any mention of Stringable objects in the RFC. Can you please describe how they behave when used as string indexes, and if you're proposing any changes for them? Nicolas > --00000000000065ed8e061cae9acd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Gina,

Impressive RFC!

Le jeu. 4 juil. 202= 4 =C3=A0 15:55, Gina P. Banyard <internals@gpb.moe> a =C3=A9crit=C2= =A0:
Hello internals,

I would like to formally open the discussion on an RFC I've been workin= g on for the past year:
https://wiki.php.net/rfc/container-off= set-behaviour

As DokuWiki is a bit of a faff at times, the Markdown sources are available= on GitHub:
https://gith= ub.com/Girgias/php-rfcs/blob/master/container-offset-behaviour.md

The implementation is basically done, other than some mysterious JIT issues= that I haven't been able to pinpoint yet.
=


I= don't see any mention of Stringable objects in the RFC. Can you please= describe how they behave when used as string indexes, and if you're pr= oposing any changes for them?

Nicolas=C2=A0
--00000000000065ed8e061cae9acd--