摘要: 根据php手册的解析。 __destruct是 析构函数会在到某个对象的所有引用都被删除或者当对象被显式销毁时执行。 而register_shutdown_function是 Registers a callback to be executed after script execution finishes or exit() is called. 注册一个回调函数,此函数... 阅读全文
posted @ 2014-10-16 20:50 sumsung753 阅读(875) 评论(2) 推荐(0) 编辑