略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: rpm_close

2024-04-30

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

?>

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.rpm-close.php

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