Показать сообщение отдельно

  #7210  
Старый 22.12.2008, 02:00
d_x
Reservists Of Antichat - Level 6
Регистрация: 25.03.2008
Сообщений: 670
Провел на форуме:
4137635

Репутация: 2407


По умолчанию

Зачем imagedestroy?
Цитата:
When the script stop PHP will automatic destory ANY
resources, this goes for aswell for images, thus in the
case the user clicks the stop button, php will automatic
clear the resource.

thus imagedestroy is used to clear the memory BEFORE
the script ends. this is usefull to keep memory usage
DURING the script to an acceptable level.