Skip to content

Added missing FILE_NO_DEFAULT_CONTEXT for file()#2540

Merged
Girgias merged 1 commit intophp:masterfrom
staabm:patch-2
Jun 24, 2023
Merged

Added missing FILE_NO_DEFAULT_CONTEXT for file()#2540
Girgias merged 1 commit intophp:masterfrom
staabm:patch-2

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Jun 23, 2023

it seems this flag is available but missing from the docs

</term>
<listitem>
<simpara>
Don't use the default context
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure what other implications this flag has. maybe this description could be more useful

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</term>
<listitem>
<simpara>
Don't use the default context
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Girgias Girgias merged commit 2957432 into php:master Jun 24, 2023
@staabm staabm deleted the patch-2 branch June 24, 2023 15:00
mumumu added a commit to php/doc-ja that referenced this pull request Jun 24, 2023
「ストリーム」コンテキストと訳すべきかどうかは疑義があろう。
だが、元のPR ( php/doc-en#2540 ) でも触れられている通り、以下のソースコードの文脈と、context パラメータから、そうとしか読み取れない。またはそう読むのが自然である。

https://heap.space/xref/php-src/main/streams/php_stream_context.h?r=d22d0e26#31-35

php/doc-en@2957432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants