Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing FILE_NO_DEFAULT_CONTEXT for file() #2540

Merged
merged 1 commit into from
Jun 24, 2023
Merged

Conversation

staabm
Copy link
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
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
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
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
2 checks passed
@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