Fixed #74862: Unable to clone instance when private __clone defined
authorDanielCiochiu <daniel@ciochiu.ro>
Tue, 7 Nov 2017 05:30:34 +0000 (07:30 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 15 Nov 2017 22:00:26 +0000 (23:00 +0100)
commitdba5a798a28482ce4a6475cc4de1586f11126175
tree041948a5096661a2b9bec0906f0c361e9cf8b9f2
parentc94d091889a67472f6da7d56db681ec8cf5be0f3
Fixed #74862: Unable to clone instance when private __clone defined

Even though __clone was implemented as private and called only from
parent class, child extending class instance could not be cloned.
NEWS
Zend/tests/bug74862.phpt [new file with mode: 0644]
Zend/tests/bug74862_2.phpt [new file with mode: 0644]
Zend/zend_vm_def.h
Zend/zend_vm_execute.h