Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129322 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 748571A00BC for ; Thu, 20 Nov 2025 11:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763636917; bh=zDGEhPz34c1T6vmZ+vrPXvAnoNFlbYViqZpLGoJl6HA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nfzS34QDvjB1IRwETcHPm/LP5tm6jyZaZVqqgHEGloTgeWuZMByt3HBMgFYbl1PCW AbVZkIdXfpoBLTBlhncpAZjFUhokIDADnyhOhfQffUwrHoAHf5BaRYhcmKnVKy+vQB oqzTV1N5WQyy2nm4Nrmo9b31C/ISlhLqKYt/cVBPmBZMgCSW6kw1Nt8GzlP+dg5dUE zZWHCJIwQsOXqqj2LBOqrjtQGWsyBVNVfK6ET3UgPf5/3x/3Ud7MtwO2rjwbiKUeED Q7LE8+Jvv7CSCOXYGRfgqXbmpwjqsofHTuRxVug234m7uf5ITQl33KAcydKT0WJkto IWog2kjVPZ3yQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4361B18006E for ; Thu, 20 Nov 2025 11:08:36 +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,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 ; Thu, 20 Nov 2025 11:08:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1763636909; bh=DL8GdzJTh1Dpa5uvysNDk4eJ9qtqr+Mqv/PcxeAkFOE=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=oCGN4fs0m+3i9iwxUBAp6BjaeOdfJqldlzduS2A0LXGKrMnC8ZuNKr0QhIedJQrEh 3huac/hCqs1aAr8MMleJBJqs1+MNwXvzSiityRsRuPJ2u1G1/f8A+FHr7LfVUcurYn 8zWDQimCUQx4R3aeZVxmN6/S/J3YRSeXxlzZvJG0TU1YbZ3BiLDkmfHqetw7mM0TnX bvRb8NScBG/e15Gv+vNy1Qo0zKn33ykcDKxVAIHzE6u72rKUeOf1Ca6Lp6FWRir77d jrXKSY44GoYsyH+hYbnMziAdlM8PghksZRd2NtXr8pFi+/Ft7LQlLlmazfLA/si6n/ gG6bxnNlVAt0w== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Thu, 20 Nov 2025 12:08:29 +0100 To: Dmytro Kulyk Cc: Ilija Tovilo , PHP internals Subject: Re: [PHP-DEV] [RFC][Discussion] Add #[NoSerialize] attribute for excluding properties or classes from serialization In-Reply-To: References: <4b6abc36d8ab6cd306e95141869db3b0@bastelstu.be> <21ff8dee5016a1b7ecc412c44233abd1@bastelstu.be> <3a20b5ef66fc23de6bad022685b41190@bastelstu.be> <4e3061bfaa5218309041460d31be2856@bastelstu.be> Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-11-14 23:51, schrieb Dmytro Kulyk: > I also have one technical question regarding stub generation: > When attributes are emitted into generated arginfo.h files, should the > generator automatically include zend_attributes.h? There was a previous discussion in some GitHub PR about this for attributes added previously. Personally I think it should automatically include `zend_attributes.h` to be self-contained. If it's simple to change, I think creating a PR is the best way to move that discussion forward, since folks have something “real” to see. Best regards Tim Düsterhus