1
0
mirror of https://github.com/php/doc-ru.git synced 2026-04-27 01:08:05 +02:00
Files
archived-doc-ru/reference/outcontrol/functions/ob-flush.xml
T

86 lines
2.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: a866f72f5334d05a2cdfe9dd423eedd071192ff8 Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.ob-flush" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ob_flush</refname>
<refpurpose>Сбрасывает (отправляет) возвращённое активным обработчиком вывода значение</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>ob_flush</methodname>
<void/>
</methodsynopsis>
<para>
Функция вызывает обработчик вывода
(с флагом the <constant>PHP_OUTPUT_HANDLER_FLUSH</constant>),
сбрасывает (отправляет) значение, которое он вернул,
и удаляет содержимое активного буфера вывода.
</para>
<para>
Функция не отключает активный буфер вывода, как это делают
функции <function>ob_end_flush</function> или <function>ob_get_flush</function>.
</para>
<para>
Функция <function>ob_flush</function> завершится неудачно,
если активный буфер вывода был запущен без флага
<constant>PHP_OUTPUT_HANDLER_FLUSHABLE</constant>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<para>
Если функция завершается неудачно, она выдаёт ошибку уровня <constant>E_NOTICE</constant>.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>ob_start</function></member>
<member><function>ob_get_contents</function></member>
<member><function>ob_end_flush</function></member>
<member><function>ob_get_flush</function></member>
<member><function>ob_clean</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->