array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.zip-entry-name.php', 1 => 'zip_entry_name', 2 => 'Retrieve the name of a directory entry', ), 'up' => array ( 0 => 'ref.zip.php', 1 => 'Zip Функції', ), 'prev' => array ( 0 => 'function.zip-entry-filesize.php', 1 => 'zip_entry_filesize', ), 'next' => array ( 0 => 'function.zip-entry-open.php', 1 => 'zip_entry_open', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/zip/functions/zip-entry-name.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

zip_entry_name

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0)

zip_entry_nameRetrieve the name of a directory entry

Увага

Ця функція ЗАСТАРІЛА, починаючи з PHP 8.0.0. Вкрай не рекомендується на неї покладатися.

Опис

#[\Deprecated]
zip_entry_name(resource $zip_entry): string|false

Returns the name of the specified directory entry.

Параметри

zip_entry

A directory entry returned by zip_read().

Значення, що повертаються

The name of the directory entry, або false в разі помилки.

Журнал змін

Версія Опис
8.0.0 This function is deprecated in favor of the Object API, see ZipArchive::statIndex().

Прогляньте також