RPM Reader 函数
PHP Manual

rpm_close

(PECL rpmreader >= 0.1.0)

rpm_closeCloses an RPM file

说明

bool rpm_close ( resource $rpmr )

rpm_close() will close an RPM file pointer.

参数

rpmr

A file pointer resource successfully opened by rpm_open().

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

范例

Example #1 rpm_close() example

<?php

$file 
"/path/to/file.rpm";
$rpmr rpm_open($file);

rpm_close($rpmr);

?>

参见


RPM Reader 函数
PHP Manual