Source of: /manual/en/function.ob-get-level.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.outcontrol.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.ob-get-level.php',
1 => 'ob_get_level',
),
'up' =>
array (
0 => 'ref.outcontrol.php',
1 => 'Output Control Functions',
),
'prev' =>
array (
0 => 'function.ob-get-length.php',
1 => 'ob_get_length',
),
'next' =>
array (
0 => 'function.ob-get-status.php',
1 => 'ob_get_status',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.ob-get-level" class="refentry">
<div class="refnamediv">
<h1 class="refname">ob_get_level</h1>
<p class="verinfo">(PHP 4 >= 4.2.0, PHP 5)</p><p class="refpurpose"><span class="refname">ob_get_level</span> — <span class="dc-title">Return the nesting level of the output buffering mechanism</span></p>
</div>
<a name="function.ob-get-level.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type">int</span> <span class="methodname"><b>ob_get_level</b></span>
( <span class="methodparam">void</span>
)</div>
<p class="para rdfs-comment">
Returns the nesting level of the output buffering mechanism.
</p>
</div>
<a name="function.ob-get-level.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns the level of nested output buffering handlers or zero if output
buffering is not active.
</p>
</div>
<a name="function.ob-get-level.seealso"></a><div class="refsect1 seealso">
<h3 class="title">See Also</h3>
<p class="para">
</p><ul class="simplelist">
<li class="member"><a href="function.ob-start.php" class="function" rel="rdfs-seeAlso">ob_start()</a> - Turn on output buffering</li>
<li class="member"><a href="function.ob-get-contents.php" class="function" rel="rdfs-seeAlso">ob_get_contents()</a> - Return the contents of the output buffer</li>
</ul><p>
</p>
</div>
</div><?php manual_footer(); ?>