I think it's relevant to note that __clone is NOT an override. As the example shows, the normal cloning process always occurs, and it's the responsibility of the __clone method to "mend" any "wrong" action performed by it.
| |||||||||||||||
| Copyright © 2001-2005 The PHP Group All rights reserved. |
This unofficial mirror is operated at:
The Server Pages Last updated: Thu May 19 18:35:34 2005 EDT |