PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

rpm_close

(PECL rpmreader >= 0.1.0)

rpm_closeCloses an RPM file

说明

rpm_close ( resource $rpmr ) : bool

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);

?>

参见