My test case: http://pastie.org/1077923 though you'll need to add a static $count = 0; To CoughObject and self:$count++ and self::$count-- to the constructor and destructor and an accessor....
My test case: http:// pastie. org/1077923 though you'll need to add a static $count = 0; To CoughObject and self:$count++ and self::$count-- to the constructor and destructor and an accessor....