会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一个农民
拼命地耕田种地!
首页
新随笔
联系
管理
订阅
2008年5月26日
PHP5单接口实现
摘要: <?phpclassExample{//Holdaninstanceoftheclassprivatestatic$instance;//Aprivateconstructor;preventsdirectcreationofobjectprivatefunction__construct(){echo'Iamconstructed';}//Thesingletonmethodpublics...
阅读全文
posted @ 2008-05-26 15:08 !星期八
阅读(456)
评论(1)
推荐(0)
编辑
公告