Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121724 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 89631 invoked from network); 20 Nov 2023 09:17:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Nov 2023 09:17:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 91E8F180047 for ; Mon, 20 Nov 2023 01:17:13 -0800 (PST) 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.4 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.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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, 20 Nov 2023 01:17:13 -0800 (PST) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-32f8441dfb5so3210128f8f.0 for ; Mon, 20 Nov 2023 01:17:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700471829; x=1701076629; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=h2zV8zEc/QBmiSwynoOSBjlbl+De8Qnn6v67e1y1TRw=; b=Sv5SGGq0TZKKRRGVEQdnZ4ueK7xsIxhY3WAKtGdZ6zSPx7Vq8L425azbt118jaAaTg F2AG3hXw0wgbVsLnJQJkPjysjwPvQytOYZQc5ZyU7hY5JJRg7zaFfCZ0G+NXkc3PLNaO VrOEM7Dxprazi4qgh1p5cGyrOLA9qMaUzY5YnRJBHDZu/D2mKKkvwR+/ixeUx70wOUj0 pT/E7Hq13PLfwum0OZDfs9019C97feOMkx/OrkGDlG2wU6deUAUht+p6EVkz5n5933TM V3pueSjoWhfNlRhvIa1AKd+648LodonPKsleu4CdLChMN1j733u18R06uad4UJsgdh59 097A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700471829; x=1701076629; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h2zV8zEc/QBmiSwynoOSBjlbl+De8Qnn6v67e1y1TRw=; b=kA1IVCuPvp2BBKp2Inj86MBIfofi25nCYI+e5WbyX+qHZsniIgU3c91cyai2Bgkc8m eDH1K62PXqgZkJrZwjnCDyWib6CoPd43PsiMYg0aK6Dg92k1dkK8pzVkG1+892HSrqt9 qsIvBxYZSzUFh0g1jRgJdO7AbPX5qE7ZnjCZMBH7gZAfmOBpeZ9KNADkCwwktJgCwreW 9q1RBJxBWrb/P0XU9UUqaf3Kgg/O3lscbCCHkefBqqkUF88v3PQOT7G54/IqM4JX+W2e 9gynePHwft8UxyMcsJAb/X7zBdznReVuaIn90y1CAkc6lDnGIyyDrcoK9V65uGi+rbX6 pV4Q== X-Gm-Message-State: AOJu0YxaBhBY03RUxMvGofeLXyNdwzKDARxAnJAJvxYFPn4qYRxS/gKa 3id8kkG96Ktp9pEXlzMOToFNc7CgqrQ= X-Google-Smtp-Source: AGHT+IH8WKXQaOY//EhpvvDAsOl6b3F7QC+0z3Pcq5Pbms9Wr0szcGbDavWgLHGa/uMN6RjCxabbLg== X-Received: by 2002:a5d:45cd:0:b0:32d:a405:b6b7 with SMTP id b13-20020a5d45cd000000b0032da405b6b7mr4819117wrs.32.1700471828891; Mon, 20 Nov 2023 01:17:08 -0800 (PST) Received: from ?IPV6:2a0e:97c0:38f:0:6279:c268:2987:d250? (luna-052d7892862c97260000f.net.as198747.daniil.it. [2a0e:97c0:38f:0:6279:c268:2987:d250]) by smtp.gmail.com with ESMTPSA id t17-20020adfe111000000b003232380ffd5sm10487009wrz.106.2023.11.20.01.17.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Nov 2023 01:17:08 -0800 (PST) Message-ID: <18fdd0e0-de80-403a-b6f4-0e90b1de1191@gmail.com> Date: Mon, 20 Nov 2023 10:17:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Is it possible to add asynchronous loop call function ? From: daniil.gentili@gmail.com (Daniil Gentili) Hi, You probably want something similar to golang's defer keyword. I intend to submit an RFC and PR for a defer keyword in PHP sometime in the future. Regards, Daniil Gentili.