PHP 8.1.0 RC 4 available for testing


(PECL ps >= 1.1.0)

ps_close_imageCloses image and frees memory


ps_close_image(resource $psdoc, int $imageid): void|false

Closes an image and frees its resources. Once an image is closed it cannot be used anymore.

Список параметров


Resource identifier of the postscript file as returned by ps_new().


Resource identifier of the image as returned by ps_open_image() or ps_open_image_file().

Возвращаемые значения

Returns null on success или false в случае возникновения ошибки.

Смотрите также

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top