ID:               48257
 Updated by:       saltybea...@php.net
 Reported By:      cel...@php.net
-Status:           To be documented
+Status:           Closed
 Bug Type:         PHAR related
 Operating System: n/a
 PHP Version:      5.3CVS-2009-05-13 (CVS)
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2009-10-19 18:11:04] s...@php.net

Automatic comment from SVN on behalf of saltybeagle
Revision: http://svn.php.net/viewvc/?view=revision&revision=289759
Log: Bug #48257 add note about phar.require_hash not affecting plain
tar files.

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

[2009-05-13 20:28:23] cel...@php.net

fixed in HEAD, 5.3, and pecl/phar

documentation needs to state that phar.require_hash does not affect
plain tar files, thus:

<?php
$a = new PharData('sometar.tar');
?>

will not fail if sometar.tar does not have a signature.

<?php
$a = new Phar('sometar.phar.tar');
?>

will fail if sometar.phar.tar does not contain a signature.

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

[2009-05-13 06:24:06] cel...@php.net

Description:
------------
pear download Net_URL
php -r 'new PharData("Net_URL-1.0.15.tgz");'

results in exception, tar does not have signature.



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


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

Reply via email to