Bug #69153 [Opn]: filename causes exception

From: Date: Sun, 01 Mar 2015 20:20:03 +0000
Subject: Bug #69153 [Opn]: filename causes exception
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191028@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69153&edit=1

 ID:                 69153
 User updated by:    greg at freephile dot com
 Reported by:        greg at freephile dot com
 Summary:            filename causes exception
 Status:             Open
 Type:               Bug
 Package:            PHAR related
 Operating System:   Ubuntu 14.04.2 LTS
 PHP Version:        5.5.22
 Block user comment: N
 Private report:     N

 New Comment:

Perhaps this is a "documentation issue" since I was able to get the PharData() invocation
to work when I passed the flag 'CURRENT_AS_SELF'

$reader->setFlags(FilesystemIterator::CURRENT_AS_SELF);

I don't really know whether this is intended behavior or if there is a bug.


Previous Comments:
------------------------------------------------------------------------
[2015-03-01 20:05:12] greg at freephile dot com

Description:
------------
PharData() unable to read filename which DirectoryIterator CAN read, and zip_open() CAN read.

Test script:
---------------
http://pastebin.com/WbEgf0Nz



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=69153&edit=1


Thread (3 messages)

« previous php.bugs (#191028) next »