|
PHP5中文手册
ZipArchive::extractTo(No version information available, might be only in CVS) ZipArchive::extractTo — Extract the archive contents 说明
mixed ZipArchive::extractTo
( string $destination
[, mixed $entries
] )
Extract the complete archive or the given files to the specified destination. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例This example opens a ZIP file archive, reads each file in the archive and prints out its contents. The test2.zip archive used in this example is one of the test archives in the ZZIPlib source distribution. Example#1 Extract all entries
<?php Example#2 Extract only two entries
<?php |