Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
終了メソッドを呼び出しob_start()ても、呼び出した場合と同じように出力が送信されますob_end_flush()。これは常に当てはまりますか、それとも PHP のバージョンまたは構成パラメーターに依存しますか?
ob_start()
ob_end_flush()
PHP 5.5.3
関連する質問/回答:
「...ob_end_* 関数のいずれかを使用しない場合、PHP は暗黙的に出力バッファーをフラッシュします。」
そのため、使用する必要がない場合はob_end_clean()
ob_end_clean()