Re: [RFC][Discussion] Add #[NoSerialize] attribute for excluding properties or classes from serialization

From: Date: Thu, 20 Nov 2025 11:08:29 +0000
Subject: Re: [RFC][Discussion] Add #[NoSerialize] attribute for excluding properties or classes from serialization
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-129322@lists.php.net to get a copy of this message
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

« previous php.internals (#129322) next »