Doc #67014 [Opn->Fbk]: PharData::buildFromDirectory and empty directories

From: Date: Mon, 30 Mar 2015 13:18:58 +0000
Subject: Doc #67014 [Opn->Fbk]: PharData::buildFromDirectory and empty directories
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12063@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67014&edit=1 ID: 67014 Updated by: mike@php.net Reported by: emmanuel dot fournier at icoleis dot fr Summary: PharData::buildFromDirectory and empty directories -Status: Open +Status: Feedback Type: Documentation Problem Package: PHAR related Operating System: Macos X PHP Version: 5.4.26 Block user comment: N Private report: N New Comment: Please elaborate. Are you passing the empty directory as argument to PharData::buildFromDirectory()? Previous Comments: ------------------------------------------------------------------------ [2014-04-03 19:58:26] emmanuel dot fournier at icoleis dot fr Description: ------------ --- From manual page: http://www.php.net/phar.fileformat.zip --- This manual page say : "Empty directories are stored in the zip archive as files with a trailing slash like my/directory/" But PharData::buildFromDirectory don't write in archive file directories that are empty ! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67014&edit=1

« previous php.doc.bugs (#12063) next »