Doc #64570 [Ver->Csd]: Phar::extractTo() documentation page has phar.readonly=0 stated as requrement

From: Date: Sat, 25 Jun 2016 15:42:09 +0000
Subject: Doc #64570 [Ver->Csd]: Phar::extractTo() documentation page has phar.readonly=0 stated as requrement
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13610@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64570&edit=1 ID: 64570 Updated by: cmb@php.net Reported by: goran dot radulovic at gmail dot com Summary: Phar::extractTo() documentation page has phar.readonly=0 stated as requrement -Status: Verified +Status: Closed Type: Documentation Problem Package: PHAR related Operating System: MacOS X PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N 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: ------------------------------------------------------------------------ [2016-06-25 15:36:20] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=339493 Log: Fix #64570: Phar::extractTo() documentation page has phar.readonly=0 stated as requrement ------------------------------------------------------------------------ [2016-06-25 15:28:46] cmb@php.net Indeed, that are ovbiously copy&paste errors. ------------------------------------------------------------------------ [2013-04-02 23:49:24] goran dot radulovic at gmail dot com By mistake, i wrote "phar.readonly = 1", when in fact i meant to write "phar.readonly = 0" in bug title. Sorry ------------------------------------------------------------------------ [2013-04-02 23:32:05] goran dot radulovic at gmail dot com Description: ------------ --- From manual page: http://www.php.net/phar.extractto#refsect1-phar.extractto- description --- I don't see any particular reason for that requirement phar.readonly. I tried using this method with phar.readonly set to both 1 and 0 and in both cases it works perfectly. As for functionality, when using this method original phar file is not affected and modified in any way, and for that reason phar.readonly shoud not be relevant. Also on the same page, on method params section block. Description of the first metod parameter is 'Path within an archive to the file to delete.' which is also mistake. First parameter is destination directory, and extracing phar file to directory has nothing to do with deleting files. This leads me to conclusion that this is some mistake in documentation. However i must be sure before heavily relay on this method in our application. Thank you ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64570&edit=1

« previous php.doc.bugs (#13610) next »