Hey everyone,
Thank you for the participation so far, since the start of the discussion,
from feedback on and off list, I've added a couple of examples:
-
https://wiki.php.net/rfc/clone_with_v2#:~:text=dynamic%20property%20creation%20follows%20established%20PHP%20rules
- https://wiki.php.net/rfc/clone_with_v2#:~:text=Positional%20parameters
- We removed the behavior of __clone locking readonly properties when the
function updates them for forward compatibility concerns raised in
https://externals.io/message/127353#127390
- Updated https://wiki.php.net/rfc/clone_with_v2#design_goals
mentioning
there that consider touching __clone or adding parameters a non-goal due to
complexity and BC implications.
- Updated the property name of the varadic parameter from
$updatedProperties to $withProperties
We're still looking for feedback on the ...variadic approach to the Syntax:
https://wiki.php.net/rfc/clone_with_v2#open_issues,
as we only got one
reply so far on the topic.
Also thanks to theodorejb for touching up phrasing, correcting spelling
mistakes and so on: https://wiki.php.net/rfc/clone_with_v2?do=revisions
Kind Regards,
Volker
--
Volker Dusch
Head of Engineering
Tideways GmbH
Königswinterer Str. 116
53227 Bonn
https://tideways.io/imprint
Sitz der Gesellschaft: Bonn
Geschäftsführer: Benjamin Außenhofer (geb. Eberlei)
Registergericht: Amtsgericht Bonn, HRB 22127