出1
print($c->getCount() . "n");
//建立第二个实例
$c2 = new Counter();
//输出2
print($c->getCount() . "n");
//销毁实例
$c2 = NULL;
//输出1
print($c->getCount() . "n");
?>
print($c->getCount() . "n");
//建立第二个实例
$c2 = new Counter();
//输出2
print($c->getCount() . "n");
//销毁实例
$c2 = NULL;
//输出1
print($c->getCount() . "n");
?>
| 对此文章发表了评论 |
