Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127539 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 lists.php.net (Postfix) with ESMTPS id 2065F1A00BC for ; Mon, 2 Jun 2025 19:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1748892505; bh=h5QNj51260fGlhDZx7yhzKM8hK/MTM6rA+sxnYJVg2M=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gnD+0E+Jfpl1N4CXftsQtfLXxX3yPz2UYPnofrVyI2fB/eiXTamNE3+xVyDcszyhx h4RVPP8h0I7HljgW3X7vY20orNYtoP6ttu+y7FdFdzDH5xvJPThjToawuv5aCssnvg oNg8rY4bokjAAxnE21AtaoA7+45R8JK0OuB6KNwSrLhIAFzxXsfKCmgYMzT3FLoOEC Belt5tWxUaVdXyihUTo9wgsusTHVLhlkAFrUdaeaMxiNf3wkujLufnUL0gix/Jg5Xq SfVugR1SC94zHM0U8hzZ75+wiMihndTbu7zjXyCs25U3ynABX64jkZEUdzMcbj+a2p ljaSbJ2CSmJZw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 888AB180051 for ; Mon, 2 Jun 2025 19:28:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) 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_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 ; Mon, 2 Jun 2025 19:28:24 +0000 (UTC) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-acb39c45b4eso771210566b.1 for ; Mon, 02 Jun 2025 12:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tideways-gmbh.com; s=google; t=1748892627; x=1749497427; 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=h5QNj51260fGlhDZx7yhzKM8hK/MTM6rA+sxnYJVg2M=; b=QNQ/wk3O2zVBZWW5AA1yPIIjN7qsVr0xJMEfMQYVWtmRc6GUMguVi+0LKpiO88gFlQ RwgvfpNKxDXxb9KaEwCm8fb0ouTwjVZn0PkXzzA0GCFezZ2X5hODOfTogjmkGG7wzU11 rEPX2llC2AIgRlvuhxH0TbaGv7nY6bYg3pcXkL/CxLtZ8xWaSKrkUyGLbqxbS6hKC3AD RcZTCQ3qy/s+IooYarNs0O6bzAPtKy8o/LzAcSU+vDRQ2V92iLPH1+4RzRjLhX6LjwnI FykrEY4v4NR/ZRNdDp+68eXbJ3HTjtZZb7jEuEr3Jz+Pey0tJTEINM+wqRrQFr4CwwBD cyfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748892627; x=1749497427; 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=h5QNj51260fGlhDZx7yhzKM8hK/MTM6rA+sxnYJVg2M=; b=ZKs8JrGlnUdR1GVF/R+dz7gzfJ48QizV+OQ/6euvEPMB7JyUfM2mD8ruoGlyikDea2 IEsw1zWcmZ0f9o1EY/aYkJaKy0sxt14dc+3fWBBBvyADg5zFgglP50sR/DV6oz8C2HpF 023bpQKR1bxQdLYoRxJfwi1TvtIxacYl9z9eiCjs5m6GTv3KahyhB+d15f1BjpRbQbH5 ewS9K3BlW4PbUPYQqYxz+PqcJESWF8bdpxGbMm9QIYzhp9QIfAgW+WWia97p4bNp8Z0i ut5nGCZKruWobxmH47wRcGEcNrQcMlU/KqAWlznMR071AYQAev6Ex7iWdnFIcm2YsUU5 RNag== X-Gm-Message-State: AOJu0YwbjF710rilVrfj+8+64x0tUUOS/nCzy0nbALe+DqbFCTvi+PaU C9cvO1jURTZjKdIPT9nSe54YOU48dGqcKlJOCLe/iLhw/dn2wM0aY2Ntk4VwWIzzYSCOKwi3qzY yjhGqRZt61s9CKbhc2VzrwYL9A7ZyGtW3YbDrQlvuNDBXOKXxP+SK X-Gm-Gg: ASbGncuHSCWSNPXtA4QmQCgfwggWR6NJ5oV7ZFLOsf0cCk3ZL/axi8SJzMnowsK0GK3 N8/+05/6vakTWyvoJUGyoS/6TFjplPv0FK+jR0pOcE+5Rec1stv3vo7Ac7l4k7dQ9EXdXbQFGUI KkRavIBhD9YmmvWCz4iOHPlQBylwOkzsU0+O35Ggu0MfMuVQg23uc3pPpb/tIvtU0= X-Google-Smtp-Source: AGHT+IE472w2iPenY+wMWMlALS8twjEZcbs5jwTEjvh1ojY8S00TtosUmzN2jMGE3Zat7yWYUvDw/aOELn0lq8VFfEs= X-Received: by 2002:a17:907:7fac:b0:ad5:34cf:d23f with SMTP id a640c23a62f3a-adb3229ea4fmr1253743166b.21.1748892626416; Mon, 02 Jun 2025 12:30:26 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 2 Jun 2025 21:30:15 +0200 X-Gm-Features: AX0GCFvwz-KCqJ2Jud0B1G3NIWvPa39CDVW06tqZrnV2tFAoBK2B-5bsjBuEyFw Message-ID: Subject: [PHP-DEV] Re: [RFC] Clone with v2 To: php internals Cc: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Content-Type: multipart/alternative; boundary="000000000000bf8a5e06369bcb03" From: volker@tideways-gmbh.com (Volker Dusch) --000000000000bf8a5e06369bcb03 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone, As there was no additional feedback for the last 5 days, and we feel the RFC is in a good place, we intend to start voting on Wednesday if there are no new concerns raised. Thank you again! Volker On Mon, May 26, 2025 at 4:03=E2=80=AFPM Volker Dusch wrote: > Version 1.1 Update: Array syntax over named arguments. > > Thank you everyone for the discussion and for improving this RFC. I'm ver= y > happy with the updates we made thanks to your feedback on and off list. > > The main idea of this RFC was to have as little of a footprint as possibl= e > and make it feel natural in PHP. I got carried away a bit during writing > this, and by using named arguments, introduced something that isn't used = in > php-src provided functions, had edge cases that required documentation, a= nd > all in all, didn't feel natural in PHP but like an inconsistency. PHP use= s > arrays to pass lists everywhere else, so changing this here feels like to= o > much scope for this little change. I'm very happy this was caught and > raised in the discussions. Thank you. > > If there is desire for named-parameter-as-an-array syntax this should be > standalone RFC with more scope than a single function. > > We've updated the RFC and the implementation, removing the "Open Issue" > listed before, as this change resolved all of them. > > - https://wiki.php.net/rfc/clone_with_v2 > - https://github.com/TimWolla/php-src/pull/6 > > > -- > Volker Dusch > Head of Engineering > Tideways GmbH > K=C3=B6nigswinterer Str. 116 > 53227 Bonn > https://tideways.io/imprint > > Sitz der Gesellschaft: Bonn > Gesch=C3=A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei) > Registergericht: Amtsgericht Bonn, HRB 22127 > --=20 Volker Dusch Head of Engineering Tideways GmbH K=C3=B6nigswinterer Str. 116 53227 Bonn https://tideways.io/imprint Sitz der Gesellschaft: Bonn Gesch=C3=A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei) Registergericht: Amtsgericht Bonn, HRB 22127 --000000000000bf8a5e06369bcb03 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

As there was no additional= feedback for the last 5 days, and we feel the RFC is in a good place, we i= ntend to start voting on Wednesday if there are no new concerns raised.

Thank you again!
Volker

On Mon, May 26, 2025 at 4:03=E2=80=AFPM Volker Dusch <volker@tideways-gmbh.com> wrote:
=
Version 1.1 Update: Array syntax over named arguments.
=

Thank you everyone for the discussion= and for improving this RFC. I'm very happy with the updates we made th= anks to your feedback on and off list.

The main id= ea of this RFC was to have as little of a footprint as=C2=A0possible and ma= ke it feel natural in PHP. I got carried away a bit during writing this, an= d by using named arguments, introduced something that isn't used in php= -src provided functions, had edge cases that required documentation, and al= l in all, didn't feel natural in PHP but like an inconsistency. PHP use= s arrays to pass lists everywhere else, so changing this here feels like to= o much scope for this little change. I'm very happy this was caught and= raised in the discussions. Thank you.

If there is= desire for named-parameter-as-an-array syntax this should be standalone RF= C with more scope than a single function.

We'v= e updated=C2=A0the RFC and the implementation, removing the "Open Issu= e" listed before, as this change resolved all of them.

<= /div>


--
Volker Dusch
Head= of Engineering
Tideways GmbH
K=C3=B6nigswinterer= Str. 116
53227 Bonn

Sitz der Gesellschaft: Bonn
<= div>Gesch=C3=A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei)
Registergericht: Amtsgericht Bonn, HRB 22127
<= /div>


--
Volker Dusch
Head of Engineerin= g
Tideways GmbH
K=C3=B6nigswinterer Str. 116
53227 Bonn

Sitz der Gesellschaft: Bonn
Gesch=C3= =A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei)
Regist= ergericht: Amtsgericht Bonn, HRB 22127
--000000000000bf8a5e06369bcb03--