©
This document uses PHP Chinese website manual Release
(PECL rpmreader >= 0.1.0)
rpm_close — Closes an RPM file
$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 );
?>