Doc #53560 [Asn->Csd]: link() confusing parameter description
| From: | vrana@php.net | Date: | Thu, 10 Feb 2011 14:03:50 +0000 |
| Subject: | Doc #53560 [Asn->Csd]: link() confusing parameter description | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5956@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53560&edit=1
ID: 53560
Updated by: vrana@php.net
Reported by: filip at kobylisy dot net
Summary: link() confusing parameter description
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: frozenfire
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:
------------------------------------------------------------------------
[2010-12-16 23:29:51] filip at kobylisy dot net
Description:
------------
---
From manual page: http://www.php.net/function.link#Parameters
---
the parameter 1 - "from_path" is described as "The link name"
the parameter 2 - "to_path" is described as "Target of the link"
I think that it is confusing and the descriptions should be swapped. It
is inconsistent with the symlink() terminology which is correct IMHO.
Maybe renaming the parameters as $existing_file and $new_hardlink would
remove the confusion completely.
Filip
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53560&edit=1