Php/docs/function.fdf-get-version

来自菜鸟教程
跳转至:导航、​搜索

fdf_get_version

(PHP 4 >= 4.3.0, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_get_versionGets version number for FDF API or file


说明

fdf_get_version ([ resource $fdf_document ] ) : string

Return the FDF version for the given document, or the toolkit API version number if no parameter is given.


参数

fdf_document
The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().


返回值

Returns the version as a string. For the current FDF toolkit 5.0 the API version number is 5.0 and the document version number is either 1.2, 1.3 or 1.4.


参见