Marcus,

> you're right $that must be available in the derived __clone().

You will solve one problem: being able to call parent::__clone(), but it won't remove 
the constraint on derived classes (declaring members) to implement __clone() when one 
of its parents implements it.
This is just to limit risk of bugs, especially when you change a class implementation 
(not its interface) that now requires __clone() in a class that is the parent of 
others.

Regards,
Stephane

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to