Skip to content

Instantly share code, notes, and snippets.

@suziewong
Created December 25, 2012 05:02
Show Gist options
  • Save suziewong/4371697 to your computer and use it in GitHub Desktop.
Save suziewong/4371697 to your computer and use it in GitHub Desktop.
设计模式考察:请用单态设计模式方法设计类满足如下需求 请用PHP5代码编写类实现在每次对数据库连接的访问中都只能获得唯一的一个数据库连接,具体连接数据库的详细代码忽略,请写出主要逻辑代码
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment