Home  >  Article  >  Backend Development  >  为什么在连接数据库的时候要销毁这么多呢

为什么在连接数据库的时候要销毁这么多呢

WBOY
WBOYOriginal
2016-06-13 12:08:43774browse

为啥在连接数据库的时候要销毁这么多呢

本帖最后由 shopnc_02 于 2014-10-28 12:54:41 编辑 好象在连接数据库后要销毁连接,要销毁结果集,还要销毁对象句柄为啥要这样做
------解决思路----------------------
因为数据库是系统资源(不是php自己的)不释放,别人就不能用
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn