php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67014 PharData::buildFromDirectory and empty directories
Submitted: 2014-04-03 19:58 UTC Modified: 2015-04-12 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: emmanuel dot fournier at icoleis dot fr Assigned:
Status: No Feedback Package: PHAR related
PHP Version: 5.4.26 OS: Macos X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: emmanuel dot fournier at icoleis dot fr
New email:
PHP Version: OS:

 

 [2014-04-03 19:58 UTC] 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 ! 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-30 13:18 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2015-03-30 13:18 UTC] mike@php.net
Please elaborate.

Are you passing the empty directory as argument to PharData::buildFromDirectory()?
 [2015-04-12 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 27 05:01:24 2020 UTC