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