OO Destructors

From: Date: Thu, 12 Aug 1999 07:42:28 +0000
Subject: OO Destructors
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3360@lists.php.net to get a copy of this message
Nearly done on this one. On-the-sly duplication of an objects data area to duplicate the object does concern me. If we don't have destructors could we at least have warnings that can be turned on to tell us when this happens (so we can change the code to use the & like we intended). I'm scared to think of the ammount of times I've assigned one object to another variable only to have two independant copies without realising it. Sam

« previous php.version4 (#3360) next »