略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: fdf_next_field_name

2024-11-14

fdf_next_field_name

(PHP 4, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_next_field_nameGet the next field name

说明

fdf_next_field_name(resource $fdf_document, string $fieldname = ?): string

Gets the name of the field after the given field. This name can be used with several functions.

参数

fdf_document

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

fieldname

Name of the FDF field, as a string. If not given, the first field will be assumed.

返回值

Returns the field name as a string.

范例

示例 #1 Detecting all fieldnames in a FDF

<?php
$fdf 
fdf_open($HTTP_FDF_DATA);
for (
$field fdf_next_field_name($fdf);
    
$field != "";
    
$field fdf_next_field_name($fdf$field)) {
    echo 
"field: $field\n";
}
?>

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.fdf-next-field-name.php

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