Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120426 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28861 invoked from network); 29 May 2023 11:48:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 May 2023 11:48:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 715A7180089 for ; Mon, 29 May 2023 04:48:08 -0700 (PDT) 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_MSPIKE_H2,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-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 ; Mon, 29 May 2023 04:48:07 -0700 (PDT) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-56896c77434so4442067b3.0 for ; Mon, 29 May 2023 04:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685360887; x=1687952887; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gTcJcRtCtP8heyot/az0FHkHytUkkVzAsMMLSpLVeoo=; b=YH9nXJMN8bCu5fo82tN55T3JtH2vXLEpa/UCMm7SV3Kgw2OJhfhIiDSVDL/DjQ4Xnz rKaDVilg5UIVLY5YnDoO0IkATOsm5UqKLrrkGBsdevOVoSKCY4ZoxT2Kng9gecjfJDUB pousiQ09Xgh/ZaP2DNcG/K9aA0WFuGnlvUYdBvjqWDLxZK1HJIz573UXiZQDK4Hxvt1/ bgbqvoyRXnByYcXswWssgtO+JoH4UHtAEWveKdJxzuXUuyyaD+MEJPEyMnN/WIry1Hds qIfqriSwrSBoy2wNfKqHLfSa/bMO6yyGSMJDUDjk9g3jhXHZ7kArzBtc40Uq903zaL4r 3s8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685360887; x=1687952887; 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=gTcJcRtCtP8heyot/az0FHkHytUkkVzAsMMLSpLVeoo=; b=AzZGtEFjlxX/GhniAj9GwAkLmp0WhVwN421mjCvibhN9zq18RPYN+ZC31vXFwoSM3B uXm/nzZctof7pxfNHRmiPLLkwAJKjM++B47Vx2fcY3/dhogukliRQmpustpcPtkSYeL/ zweb4eTsieJGtaD4jbDSUReR6Th9Xm6DRBP0yScT25CpRHG1nBvpP91UjDd2rbM9fKfv ZFKyWAhGqTROLfeZ/aUo0SvGvQRFtWM/pEtRKlVKLyTYBQyV0glVHwjMDmeJdugB+VrO wt8iF3N79NfiDUS6jKQMbIpZQE8hbXLthsQ2MddQ7vlBDjLslnvG1KgdLzyWQZ3Vthyu JR+w== X-Gm-Message-State: AC+VfDwZ2UqATDw2XhyudnPHpRZ1c1r6QtkoSAo4pdIHarZ/kLTNnITM bXVNCs9WlNCnqdJP1zsqIO5SZwwckDT4apBm7Jk= X-Google-Smtp-Source: ACHHUZ7/Cu43BXMqGlUETFHJ2nJRbB5cRT4+oDG8He6aDznjcJx94nSyW5jhuFg0Aqr27eDR8+cXNIxWLChBDBRrxsE= X-Received: by 2002:a0d:efc5:0:b0:565:421a:3879 with SMTP id y188-20020a0defc5000000b00565421a3879mr10103940ywe.52.1685360887004; Mon, 29 May 2023 04:48:07 -0700 (PDT) MIME-Version: 1.0 References: <799ae864-6e25-4196-a5ce-0d74600a8378@app.fastmail.com> In-Reply-To: Date: Mon, 29 May 2023 13:47:55 +0200 Message-ID: To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: Nicolas Grekas , =?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?= , Larry Garfield , php internals Content-Type: multipart/alternative; boundary="000000000000fd034b05fcd3a8e1" Subject: Re: [PHP-DEV] [RFC] [Discussion] Clone with From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Marcin_Brzuchalski?=) --000000000000fd034b05fcd3a8e1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi M=C3=A1t=C3=A9, pon., 29 maj 2023 o 11:18 M=C3=A1t=C3=A9 Kocsis na= pisa=C5=82(a): > Hi Everyone, > > In the meanwhile, I changed my proposal to use [] instead of {} after the > "with" clause due to its better receptance. > Additionally, I removed support for the shorthand "property assignment" > syntax (clone $this with [property1: "foo"]) in > favor the more powerful one where the left-hand side supports expressions > (clone $this with ["property1" =3D> "foo"]) > so that we have more time to decide whether the former one is really > needed. > So there would be no option to vote on shorthand properties, right? Array syntax with all properties as strings in quotes probably means no support from IDE. I think this is a really bad move, I'd be against it. Cheers, Micha=C5=82 Macin Brzuchalski --000000000000fd034b05fcd3a8e1--