Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127344 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 0B93E1ADB21 for ; Tue, 13 May 2025 18:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1747161569; bh=5udyJ9Bfft8Q+XObJZNocqOY2H9mRk2WYQxjXvqjrhs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gRXPboL+LrNoevV9yBYVBZov7y4X6e/ayqWwp8xc1LCvoKHnPqqZr9VZj+quTlijO CckR2VsUBASQMnx9aFCYuTdMo0b+BtzLEWOHL68KIK4y14ik8/odAeStclffulsSnj HMtZuWXttm9NDtYd7/oVXhM9WaY6x9zu/3Sb3C8/kZLF4mSacTT7KhIU3v4o+jyRt5 n85krOCqZ/0c7J+uURNEpkpWs10hJ9GNrvH7dkdPzSSzUw68mA5nnOLjQeY6lL7+ge D7oGXUlQYS4igA6sb38ISAZ/brjR+qGYwLhy4PLIJ4Xub4A2ElMle0fOgssUu7jSON pE5Vz6X9Nw9rg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D1EB11801E7 for ; Tue, 13 May 2025 18:39:27 +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=1.7 required=5.0 tests=BAYES_50,DMARC_NONE, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 ; Tue, 13 May 2025 18:39:25 +0000 (UTC) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5fc8c68dc9fso4870743a12.1 for ; Tue, 13 May 2025 11:41:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747161696; x=1747766496; h=content-transfer-encoding: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=5udyJ9Bfft8Q+XObJZNocqOY2H9mRk2WYQxjXvqjrhs=; b=bN8ACqi1QR8RiTD70/RQ1vvKWrEDQZ22fwAH5cetRRh1v757V5Cr9U8+4qb0GDUnlf 6M4iGLgsTk1ofjUDhokNasc+GfZnHVHXpOi9yfHvUhnglbhIc8R+wuWFFLq/KXg+gb6r XnHR6JA5grG86U5bNCQ2+oUr0aHqRTnsY9iyGXtSO3WQcKGy+Fh7aY9TGvEPuCZO3Y+q Kg0BhmxYj/pjAMf/g/hkbyQKloCLJ7zsDQMrCkWmAak3MShuR+PZlJiWmI2X9Fi0JEFa MYRpBI0zTW9Zedn1E/e76FTbI2zLj9DDi41nFP7lPTWlgncTNYPzGn52yNOKVDov2dBy mmSA== X-Gm-Message-State: AOJu0YzT42daxU0E76Fm3hFeLihmo6XhpEHQoHcgIJmSWV9m922yVZnd 60r2oyIrSDf4WG6QiMhzQSWaNRVKg6pougKaT8CseWZn+lQ/MSgdDK7+zRRCR675pqRz0Tqzola jm+q2RqUPeC4MpgWujhR+xuJMpogj75fL X-Gm-Gg: ASbGncujMrMWXiq2WarSf1hjX+Vmc8hhXFM4mlBCZ/oOHw+F4hFO7ffEVH7wRtMLel6 tTYg3KkCQI4H/DH22tVu1WlTjK3HHzvE0wTbqmDe8A2mHg6qMGLIHvw/ZBxKMhzOrnO9mdg6Q2/ jXwoyI4p7+Nrp2zYLEDYx1mKPEJE7EpdeR X-Google-Smtp-Source: AGHT+IHaAwq42iuBLQzSlNJIy9mMSd6GVTeT6HQgcEGOs3EdWTUZTn0elfcIIkJnYz2Cs5h1oCaKYYjpnjMFIQzqxcs= X-Received: by 2002:a05:6402:84f:b0:5f6:4a5b:9305 with SMTP id 4fb4d7f45d1cf-5ff98a23071mr151439a12.33.1747161695368; Tue, 13 May 2025 11:41:35 -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: Tue, 13 May 2025 12:41:18 -0600 X-Gm-Features: AX0GCFtWhgCzVp4-q3V11hNNIjXASSBPCi1R0CQwk671NF4nmUfevOjoIcWXb0Q Message-ID: Subject: Re: [PHP-DEV] [Vote] Pipe operator To: Larry Garfield Cc: php internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: levim@php.net (Levi Morrison) On Mon, May 12, 2025 at 8:00=E2=80=AFPM Larry Garfield wrote: > > I hereby open the vote on the Pipe operator RFC: > > https://wiki.php.net/rfc/pipe-operator-v3 > > The vote will run until 26 May. Hey, Larry, quick check: > Supporting pass-by-ref parameters in simple cases is quite easy, and > a naive implementation would support it. However, passing a value > from a compound value (an object property or array element) by > reference does not work, and throws an =E2=80=9CArgument could not be pas= sed > by reference=E2=80=9D error. In practice, it is easier to forbid pass-by-= ref > parameters in pipe than to allow them. Is this a restriction that can be lifted in a future version? I agree that it's unlikely to be useful, but if the `$temp =3D` chain version supports it, then so too I would expect a pipeline to be able to handle it.