php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61235 Documentation on copy() could reflect $context not functioning until 5.3.4
Submitted: 2012-03-02 01:57 UTC Modified: 2015-04-17 14:42 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: php at whoah dot net Assigned: salathe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at whoah dot net
New email:
PHP Version: OS:

 

 [2012-03-02 01:57 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-15 16:20 UTC] ppaisndud at gmail dot com
Patch has been put to review
 [2015-04-17 14:42 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2015-04-17 14:42 UTC] salathe@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 20:00:02 2026 UTC