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

WBOY
Release: 2016-06-13 12:08:43
Original
777 people have browsed it

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

本帖最后由 shopnc_02 于 2014-10-28 12:54:41 编辑 好象在连接数据库后要销毁连接,要销毁结果集,还要销毁对象句柄为啥要这样做
------解决思路----------------------
因为数据库是系统资源(不是php自己的)不释放,别人就不能用
Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!