略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ps_new

2024-11-15

ps_new

(PECL ps >= 1.1.0)

ps_newCreates a new PostScript document object

说明

ps_new(): resource|false

Creates a new document instance. It does not create the file on disk or in memory, it just sets up everything. ps_new() is usually followed by a call of ps_open_file() to actually create the postscript document.

参数

此函数没有参数。

返回值

Resource of PostScript document 或者在失败时返回 false. The return value is passed to all other functions as the first argument.

参见

  • ps_delete() - Deletes all resources of a PostScript document
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.ps-new.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3