Doc #61235 [Com]: Documentation on copy() could reflect $context not functioning until 5.3.4
| From: | ppaisndud at gmail dot com | Date: | Wed, 15 Apr 2015 16:20:41 +0000 |
| Subject: | Doc #61235 [Com]: Documentation on copy() could reflect $context not functioning until 5.3.4 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12161@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61235&edit=1
ID: 61235
Comment by: ppaisndud at gmail dot com
Reported by: php at whoah dot net
Summary: Documentation on copy() could reflect $context not
functioning until 5.3.4
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Patch has been put to review
Previous Comments:
------------------------------------------------------------------------
[2012-03-02 01:57:26] php at whoah dot net
Description:
------------
---
From manual page: http://www.php.net/function.copy#refsect1-function.copy-
changelog
---
The documentation states that $context was added for 5.3.0 but in reality it's not
usable until 5.3.4. There's an opportunity for the documentation to reduce
confusion around this by clearly noting it under the changelog.
See PHP 5 changelog:
"Changed the $context parameter on copy() to actually have an effect. (Kalle)"
I couldn't track down the actual bug ID though.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61235&edit=1