php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67358 Incorrectly referencing "default" context
Submitted: 2014-05-29 13:48 UTC Modified: 2016-12-30 12:37 UTC
From: Andy_Schmidt at HM-Software dot com Assigned: cmb (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: Andy_Schmidt at HM-Software dot com
New email:
PHP Version: OS:

 

 [2014-05-29 13:48 UTC] Andy_Schmidt at HM-Software dot com
Description:
------------
---
From manual page: http://www.php.net/function.stream-context-set-option
---
In the chapter "parameters" it incorrectly statest:

"options -  The options to set for the default context."

The options are NOT for the "default" context, they are for the explicit context that is referenced in the "stream_or_context" parameter.

(This line was likely copied from this page:
http://tz1.php.net/manual/en/function.stream-context-set-default.php
but then not adapted to match that specific function.)

Expected result:
----------------
"options -  The options to set for the specified context."

Actual result:
--------------
"options -  The options to set for the default context."

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 12:36 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=341539
Log: Fix #67358: Incorrectly referencing "default" context
 [2016-12-30 12:37 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-12-30 12:37 UTC] cmb@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.
 [2020-02-07 06:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=ce6ab41aa12cc3bc1251a02c977454c0451a180c
Log: Fix #67358: Incorrectly referencing "default" context
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 12:00:02 2026 UTC