单例类这样写得对吗?

【单例类这样写得对吗?】

单例类这样写得对吗?

文章插图
singleton类写的对吗?singleton类写的对吗?简介:<?服务器端编程语言(Professional Hypertext Preprocessor的缩写) 类别配置 { private static $ _ instance = nullprivate static $ _ items = array();私人功能