Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单例模式的问题 #15

Open
windwild opened this issue Mar 31, 2012 · 0 comments
Open

单例模式的问题 #15

windwild opened this issue Mar 31, 2012 · 0 comments

Comments

@windwild
Copy link
Owner

那个单例模式我写的应该有问题

我的目的:
只调用一次__constructor 这样就能提高速度

但是现在每次还是会初始化一次$cr_config 看来还是有点问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@windwild and others