how to count objects instances

From: Date: Mon, 23 Aug 2004 22:05:21 +0000
Subject: how to count objects instances
Groups: php.general 
Request: Send a blank email to php-general+get-194534@lists.php.net to get a copy of this message
hi, What is best method(if it's possible) to count how many times an object is instanced in one time script call? I means that if i have a class named "Test", i what to know how many times she's called, how many copies exists etc. The idea is for monitoring in the way to optimizing the code. The method get_declared_classes() only shows only the classes included/required. Tanks ---------------------------------------------------------------------- This mail sent through Horde-Toaster (http://qmailtoaster.clikka.com/)

« previous php.general (#194534) next »