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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 Feb 17 09:01:26 2020 UTC