Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125873 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 qa.php.net (Postfix) with ESMTPS id 6A2B81A00BD for ; Tue, 29 Oct 2024 20:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1730232911; bh=4t8miZmIZkh7D31KGMNsTrOi6q7YZh3ZX8bmbFiD6ek=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=YHNlH8gLZZ32ZGqRx9UKCbx7a5g98YbQ6dngpw4hWVqcWWLdOfUzRJKbtsDzCYOyC iYMi11ftsXuFxC5P+/uMrlK9P8Qc4AL7UAXnom2Nyqhmp1chYOA9f6eaRmdsEHXuo6 ZATKk59EipSKUDGmwQynmUP5uYAfFbxrbN0CZBBuYv+EyRl4Wj3oEM50vPN+ZkEE4P GOG4+bVKgDssOOChAdmjDTVwPbDGndtR6jtfT8zZdWEyHve/y2jm3+tAus75YnywTl 7Y7P6SaY9LGRkJ4D6NWr57kdDAu2BFlAe83Y/pG/usoQbrYmorsDVsFMf10tEijVDQ f+FYWpP06GYKw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B23BA180037 for ; Tue, 29 Oct 2024 20:15:10 +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=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,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-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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, 29 Oct 2024 20:15:10 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-37d4d1b48f3so4303867f8f.1 for ; Tue, 29 Oct 2024 13:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730232761; x=1730837561; 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=4t8miZmIZkh7D31KGMNsTrOi6q7YZh3ZX8bmbFiD6ek=; b=Seyw8w9mTwDp+lAF3N/bCPWoicpgsbKFeOMzskqn14Zx9BZ64Ttr0FMJY85tWkYXa+ EN1tL3j5sW1btHYmnWmM0QXGZU3vJrK1EFTshjok008KxtmWuaFNE2bH67dPJB4yecCK X8AIYmeqxB8WDdpyns51dmSjq7p7aTaDl3S1hCOPgFnVPMJABxoa3q3lrs6ea6AfhSpC e+Rk3bY1685TUgvpK/RZQjXNBZVUE+CHBLk8KBqbGydqYjymECqB/mgY0/PSthOPsX10 cVJ/FP2Hl2CkcbbrzFH8FqzYvMgtjlbyruLzJZ3k1F5ihmFLUK99DYLi2ZEMENI0Z55K Z25A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730232761; x=1730837561; 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=4t8miZmIZkh7D31KGMNsTrOi6q7YZh3ZX8bmbFiD6ek=; b=pkYEKV+FIfzvkQVHh1qnqhwnZuSN4tvZLN/VXAhHmxBCc9GcnVLLjeJZoZQzE/1tEc YFtiEAk1+ozWcE0ysiCRZ0F4va6tnqxdTbevPowzCSbXLdoCn2g140YU271kr9XUw4+V KUhTe+piWqMnvKE2Zd/hP9c/T7q9HTW/mgcGeTTM3s/KcpwCA+nYm8NU5drHIP3JyPBF KGCgYhq/waml7RpercML8nLO2YXgLK2i29ukKnlS7Q5JX8iPR5NX2mKcus3/2+qIHJA3 WUAqjCfTgN0x+cgh547usKjxQ+vM8lyoZX6KSoOG7oAfx/+C0SRtzA5qg+AhV1WGQU2f jFpw== X-Gm-Message-State: AOJu0YzT+8ji4p5TW+4/KroYS8FoMDHGs03U4B1C5IZcLHsBeOMEREQw ImCQCWxmgpqEknlWcej5Pf06vC928UX9XNk5VTCAKCXvlDPEMHuZaKOI30YP2X1+M6ROEnsocCK m8d4OS9ioAbrBxg3OLBoMOLxn7dYkT0gpBRay X-Google-Smtp-Source: AGHT+IHDOrtj3QeSRPrWz+34kMMWjVhwtFgCBvoj7pRkn9UcdH8llNuy1MP8FNY29JVxw6nKq0dOm0KYyzwidk1bXoI= X-Received: by 2002:adf:ec8f:0:b0:374:b35e:ea6c with SMTP id ffacd0b85a97d-381b70ed1c3mr566198f8f.40.1730232760522; Tue, 29 Oct 2024 13:12:40 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <15da4c13445d7e9c9d768c60c19768d4@bastelstu.be> In-Reply-To: <15da4c13445d7e9c9d768c60c19768d4@bastelstu.be> Date: Tue, 29 Oct 2024 23:12:29 +0300 Message-ID: Subject: Re: [PHP-DEV] RFC: Support Closures in constant expressions To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: internals@lists.php.net, volker@tideways-gmbh.com Content-Type: multipart/alternative; boundary="00000000000011e0d00625a3358b" From: udaltsov.valentin@gmail.com (Valentin Udaltsov) --00000000000011e0d00625a3358b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tuesday, 29 October 2024=E2=80=AFat 18:14, Tim D=C3=BCsterhus wrote: > Hi > > Volker and I would like to start discussion on our RFC to "Support > Closures in constant expressions". > > Please find the following resources for your reference: > > - RFC: https://wiki.php.net/rfc/closures_in_const_expr > - Implementation: https://github.com/php/php-src/pull/16458 > > Best regards > Tim D=C3=BCsterhus > Hi, Tim! Looking forward to this feature! Good luck with the RFC. Will the first class callable syntax be supported? ``` #[Serialize\Custom(strtoupper(...))] ``` --=20 Valentin --00000000000011e0d00625a3358b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tuesday, 29 October 2024=E2=80=AFat 18:14, Tim D= =C3=BCsterhus <tim@bastelstu.be&= gt; wrote:
Hi

Volker and I would like to start discussion on our RFC to "Support Closures in constant expressions".

Please find the following resources for your reference:

- RFC: https://wiki.php.net/rfc/closures_in_const_exp= r
- Implementation: https://github.com/php/php-src/pull/16458=

Best regards
Tim D=C3=BCsterhus

Hi, Tim!

Looking forward=C2=A0to=C2=A0this fe= ature! Good luck with the RFC.

Will the first class callable syntax= =C2=A0be supported?

```
#[Serialize\Custom(strtoupper(...))]
`= ``

-- =
Valentin
--00000000000011e0d00625a3358b--