I really like a way with arrays. It allows users to combine what properties they want to re-set and call the clone function only once. Really good catch.
|
- [PHP-DEV] [RFC] Clone with v2 Volker Dusch
- Re: [PHP-DEV] [RFC] Clone with v2 Larry Garfield
- Re: [PHP-DEV] [RFC] Clone with v2 Volker Dusch
- Re: [PHP-DEV] [RFC] Clone with v2 Larry Garfield
- Re: [PHP-DEV] [RFC] Clone with v2 Volker Dusch
- Re: [PHP-DEV] [RFC] Clone wi... Dmitry Derepko
- Re: [PHP-DEV] [RFC] Clone with v2 Matthew Weier O'Phinney
- Re: [PHP-DEV] [RFC] Clone with v2 Tim Düsterhus
- Re: [PHP-DEV] [RFC] Clone with v2 Larry Garfield
- Re: [PHP-DEV] [RFC] Clone with v2 Tim Düsterhus
- Re: [PHP-DEV] [RFC] Clone wi... Larry Garfield
- Re: [PHP-DEV] [RFC] Clone wi... Nicolas Grekas
- Re: [PHP-DEV] [RFC] Clon... Volker Dusch
- Re: [PHP-DEV] [RFC] ... Volker Dusch
- Re: [PHP-DEV] [RFC] Clone with v2 Volker Dusch
- Re: [PHP-DEV] [RFC] Clone with v2 Stephen Reay