m
o
d
e
l
=
n
e
w
l
i
b
m
y
s
q
l
i
(
)
;
1
、
当
n
s
e
t
(
model = new lib_mysqli(); 1、当nset(
model=newlibmysqli();1、当nset(model)时,会调用__destruct()方法
2、当对象执行类内的方法结束时候,调用__destruct();方法
__destruct()析构方法的调用
最新推荐文章于 2022-07-31 06:32:12 发布