]> granicus.if.org Git - php/commit
Fix __clone().
authorMarcus Boerger <helly@php.net>
Tue, 1 Jul 2003 23:29:36 +0000 (23:29 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 1 Jul 2003 23:29:36 +0000 (23:29 +0000)
commit550028743202cb0eb220c164e4478a392f25a09b
tree028ffc59a65e764aa68b44db8d57653c3fda9573
parent5dd671e3cc5a821477e65b83c4160128bfb1515c
Fix __clone().

# This is somewhat discussable. I copied all properties from the old to the
# new object. But for type correctness we only need to copy the properties
# declared in the class and its parents.
#
# Also someone might want to take care about static and const members.
Zend/zend_objects.c