unset()是否会破坏PHP GD资源?

时间:2015-04-08 20:54:54

标签: php variables gd

我使用for循环取消设置脚本中的所有剩余变量,以节省一些内存。 我的问题是,unset($variable);会删除$variable,如果它是PHP gd资源,就像使用$variable = imagecreatefrompng('url');创建的资源一样吗?

0 个答案:

没有答案