Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128895 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 8246E1A00BC for ; Wed, 22 Oct 2025 08:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761122095; bh=QCSrS314ix9+8FQ0S/BOLu09ynnk45zd6olFKBztZTY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QkG6whordRhC3PWmU0uBpBIsAlTqB6w7Y0VOJ1PXmhndYXbRbaAUsDD5j/QzGzAm8 YpAGLcIq62u2vHen9/B1ZCPavy0VDrSj7xFEcAULD8N7LSQI7i8d5WYLe8BuA/pwl2 2BN03KGHKAmQ+OmL2fsH1JyHjR69iGDQ7ie+t/1R0/cw6d35F1Gdx15yD1C2Sucltv epytk6sb9CcTyJoIDAZx1NYAR27dVS/hiBtOi608FgIGrFDE9p4GpyN4iVjy51AMuc Wm29vqhOBTkiZ5tKBC0sqEVb3Xuj4OpSMwszYsiFYyAV4dA1M2TC6Y0NBVYckFqq8A uEvsM/443QS2w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8EF191801D6 for ; Wed, 22 Oct 2025 08:34:54 +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_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (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 ; Wed, 22 Oct 2025 08:34:54 +0000 (UTC) Received: by mail-vs1-f53.google.com with SMTP id ada2fe7eead31-5b62ab6687dso5524194137.0 for ; Wed, 22 Oct 2025 01:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761122088; x=1761726888; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QCSrS314ix9+8FQ0S/BOLu09ynnk45zd6olFKBztZTY=; b=UKT+uj3LV64X+TkmBbqD92l2UN3FvIiuGjLt4hxi3T1w9RwYjbYMbQhXpYHRaNqaeZ DAlND7zvCUtE3L/V0YEsynS6HLocd6cGIs8LGxpIb1eNL6pB0cxJArfg9doLxfgEGqpT FzRdTzjrEAfrP/78MMZV/38WZz2jYryqYFysBsBSLNkQsk0Sl5D114LvmPdLKB7l3xBB I+eKR309/7OFLt8UbQIh3/W0GoGJnk7+/6eq7CuZ7jNXoTMGFSrVs+UOkZoCjdTMawmi YDLHZkTe8vinaQIvZhd3Bzl//zlFK/0TboeLISh5c4yoIta4cpuc8Wxg18VyOo/Rm+Yr QVsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761122088; x=1761726888; 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=QCSrS314ix9+8FQ0S/BOLu09ynnk45zd6olFKBztZTY=; b=l+2pVazw71myE1JBlYD0gyp8F/DrSktayBBDbPm3pQl3BVIB4mr3Au0c3AHvGPy5Dl obM4FXUIv/IuhP9QpjTw0goAyqWY1Wr/IL00O7gz028hyJirz+X+HNfGC6d9nfC3fvHV 4ui+4aL4lH1ql2S3Uzfz9svMgghIJZSWRyG0LqjLXH0B6d7XEG6akxWKaLDcKirHKC1h drsDqcGlmTTG2GbHu5tNyfIe7QEbqHYj/3SBLECAeiXdzEplIjYJK/EB/3kKcMY77ZF7 38Hciclx9ZeytzcDcRXgEIFnl6sglwO6rANSYYWwmir2XMjUePJQHva7eHIndOa1f4L5 vqtQ== X-Forwarded-Encrypted: i=1; AJvYcCX+wTq14v4IC54GMal3Fluxu7oGc0UzS72vkJy717Q4mivg2YW0GLjKR2B/n8VrCjlhx7dcTTKBl/w=@lists.php.net X-Gm-Message-State: AOJu0YzeR3yRhTTMugZXnh+yiiD9UHus6PoolK7YW8hu02imSRvsF29c IjxXi6SYFBc9p9M4zMjxoihWvO6Bde6hAlrqueAOT0ZAGxGAJBsx61xYSVo1iPTmJqV7NRtfhx2 WGSGd3WbrLgFhma0OkoPIqGj6JRr6Mp0= X-Gm-Gg: ASbGncsFnEE4FYNfNzdi0P2sNJx7974ygwIVDQMNr+RNEGtUgq06NjISiLfLIdQtjHI pRigNVuZRZH978HzS196Bc4+jo0H5lrqlCynixEEHQnIHPowddJawL1Fbzp3MPLwzVgTwcDfIrO 51A53rMzBL8y39jug/YyWAXreo5Z7rQSi9xKsJFU0lrDY+ClRKhzfgbSEZxsoeNTUU2UFvNazmy cWtuGIFOpmf0gcS7whOsHN8Ly/iYZVX1ebZLIqCYd5g5Q4T3zAUyQhvKxrNe7WRou7qu/jdoVUb bLUTtey/5UXdwrE= X-Google-Smtp-Source: AGHT+IH2qQKoIlDdyyo52/PdSHJemWAlms/Q+kpy247gCw2NYhwRt3eMPyb9QluMqeevRqORrFmCok6oPr7MZ01bL8Q= X-Received: by 2002:a05:6102:3f16:b0:52d:110:a920 with SMTP id ada2fe7eead31-5d7dd6a3fc3mr7124657137.33.1761122088536; Wed, 22 Oct 2025 01:34:48 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <0e4e39d6-9cc9-4970-92e0-2463143b4011@app.fastmail.com> <37180d8d-85b4-49a3-a672-334bf4329470@app.fastmail.com> <2f8524a7-dea2-4fbf-933a-c538d3706253@app.fastmail.com> In-Reply-To: <2f8524a7-dea2-4fbf-933a-c538d3706253@app.fastmail.com> Date: Wed, 22 Oct 2025 11:34:37 +0300 X-Gm-Features: AS18NWBRA1zribBbPdyJ7H4u4vSALKh1UTmZQsoswaFlxnakgbDatSr5lGqw8-s Message-ID: Subject: Re: [PHP-DEV] PHP True Async RFC Stage 4 To: Rob Landers Cc: Aaron Piotrowski , PHP Internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: edmond.ht@gmail.com (Edmond Dantes) > A simpler solution might be to keep things as they are, but have the non-= idempotent constructs be generators of Awaitable instead of non-idempotent = Awaitables So it=E2=80=99s the same as in C#? The problem with this situation is that so far I haven=E2=80=99t been able = to find any cases proving that a non-Future object could cause serious failures in the code. At the same time, if a select case expression is introduced in the future, it would make more sense for select to work with an awaitable object rather than a Future. That=E2=80=99s why I=E2=80=99m not yet sure it=E2=80=99s worth abandoning t= he general behavior unless a convincing argument is found showing that it leads to real problems. -- Ed