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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 06:01:28 2024 UTC