您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

rar_list

(No version information available, might be only in CVS)

rar_list — Get entries list from the Rar archive

说明

array rar_list ( resource $rar_file )

Get entries list from the Rar archive.

参数

rar_file

A Rar file resource, opened with rar_open().

返回值

rar_list() returns array of entries or FALSE on error.

范例

Example#1 rar_list() example

<?php

$rar_file 
rar_open('example.rar') or die("Failed to open Rar archive");

$entries_list rar_list($rar_file);

print_r($entries_list);

?>