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

 ID:                 60890
 Updated by:         ralphschind...@php.net
 Reported by:        cornelius dot howl at gmail dot com
 Summary:            Can not read tgz file through Phar class, but
                     related path works
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            PHAR related
 Operating System:   Mac OS 10.6
 PHP Version:        5.3.9
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The filename passed to the first parameter of the Phar constructor must contain 
.phar in the file's extension to be created/opened.


Previous Comments:
------------------------------------------------------------------------
[2012-01-26 12:04:29] cornelius dot howl at gmail dot com

Description:
------------
Can not read tgz file with realpath, offsetGet works, offsetSet doesnt work.

$p['file'] = 'content';  

will fail.

See: https://gist.github.com/1682446

Test script:
---------------
https://gist.github.com/1682446

Actual result:
--------------
See: https://gist.github.com/1682446


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



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

Reply via email to