On Wed, Sep 2, 2020 at 8:42 PM Michael Voříšek - ČVUT FEL < voris...@fel.cvut.cz> wrote:
> Hi, please look at > > https://stackoverflow.com/questions/63675888/get-original-source-instance-in-clone > > > do you have anything against updating PHP to pass "instance before > cloned" to any __clone call from php? > > no BC - user may accept this extra argument or declare function > __clone() without any param like now > Could you please provide some more information on what the intended use-case is? I'm not opposed to this change, but I also don't understand why it is needed. Regards, Nikita