com doc/ja: Fix #80673: Be explicit about the order in which to call flush() and ob_flush(): reference/outcontrol/function s/flush.xml
| From: | Yoshinari Takaoka | Date: | Thu, 28 Jan 2021 15:11:16 +0000 |
| Subject: | com doc/ja: Fix #80673: Be explicit about the order in which to call flush() and ob_flush(): reference/outcontrol/function s/flush.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6128@lists.php.net to get a copy of this message | ||
Commit: ceac540852c15c65b7a5a2436184c2a754707e6e
Author: Yoshinari Takaoka <mumumu@mumumu.org> Fri, 29 Jan 2021 00:11:16 +0900
Parents: 9a8028fd30b434c99175c724efc61d1dc1a78c22
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=ceac540852c15c65b7a5a2436184c2a754707e6e
Log:
Fix #80673: Be explicit about the order in which to call flush() and ob_flush()
Bugs:
https://bugs.php..net/80673
Changed paths:
M reference/outcontrol/functions/flush.xml
Diff:
diff --git a/reference/outcontrol/functions/flush.xml b/reference/outcontrol/functions/flush.xml
index c7f7da0f17..92db4c49cb 100644
--- a/reference/outcontrol/functions/flush.xml
+++ b/reference/outcontrol/functions/flush.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: cd1472667a1dd20ae48c06a2517d1452cc9d3413 Maintainer: hirokawa Status: ready
-->
+<!-- EN-Revision: 084841342704e43aa4fceb205453f9bd3f257d87 Maintainer: hirokawa Status: ready
-->
<!-- CREDITS: shimooka -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.flush">
<refnamediv>
@@ -24,8 +24,8 @@
<function>flush</function>
はウェブサーバーのバッファリング手法を上書きすることはできません。
また、クライアント側のブラウザでのバッファリングにはなんの影響も及ぼしません。
PHP
のユーザーレベルでの出力バッファリングの仕組みにも影響を及ぼしません。
- つまり、もし ob 出力バッファを使用しているのなら
<function>ob_flush</function>
- と <function>flush</function>
の両方をコールしなければなりません。
+ つまり、<function>flush</function> と <function>ob_flush</function>
を両方使っている場合は、
+ <function>ob_flush</function>
を先に呼び出さなければならないということです。
</para>
<para>
いくつかのサーバー、特に Win32
上ではスクリプトからの出力をブラウザに