imagedestroy
(PHP 4, PHP 5)
imagedestroy — Destroy an image
說明
bool imagedestroy
( resource $image
)
imagedestroy() frees any memory associated with image image .
參數
- image
-
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。