[RFC] [Discussion] Clone with

From: Date: Mon, 17 Apr 2023 06:32:19 +0000
Subject: [RFC] [Discussion] Clone with
Groups: php.internals 
Request: Send a blank email to internals+get-120048@lists.php.net to get a copy of this message
Hi Everyone, Quite some time after mentioning the "clone with" construct the first time (at the end of the https://wiki.php.net/rfc/write_once_properties#run-time_behaviour section), finally I managed to create a working implementation for this feature which would make it possible to properly modify readonly properties while simplifying how we write "wither" methods: https://wiki.php.net/rfc/clone_with Regards, Máté Kocsis

« previous php.internals (#120048) next »