reference/outcontrol/functions/ob-get-length.xml
6ab6ea465889620fc2a8cdaf7b008cbaed83c523
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ob-get-length">
3
+
<refentry xml:id="function.ob-get-length" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>ob_get_length</refname>
6
6
<refpurpose>Return the length of the output buffer</refpurpose>
...
...
@@ -9,18 +9,23 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>ob_get_length</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>ob_get_length</methodname>
13
13
<void/>
14
14
</methodsynopsis>
15
15
<para>
16
-
This will return the length of the contents in the output buffer.
16
+
This will return the length of the contents in the output buffer, in bytes.
17
17
</para>
18
18
</refsect1>
19
19

20
+
<refsect1 role="parameters">
21
+
&reftitle.parameters;
22
+
&no.function.parameters;
23
+
</refsect1>
24
+

20
25
<refsect1 role="returnvalues">
21
26
&reftitle.returnvalues;
22
27
<para>
23
-
Returns the length of the output buffer contents or &false; if no
28
+
Returns the length of the output buffer contents, in bytes, or &false; if no
24
29
buffering is active.
25
30
</para>
26
31
</refsect1>
...
...
@@ -46,7 +51,7 @@ $len2 = ob_get_length();
46
51

47
52
ob_end_clean();
48
53

49
-
echo $len1 . ", ." . $len2;
54
+
echo $len1 . ", " . $len2;
50
55
?>
51
56
]]>
52
57
</programlisting>
...
...
@@ -71,7 +76,6 @@ echo $len1 . ", ." . $len2;
71
76
</refsect1>
72
77

73
78
</refentry>
74
-

75
79
<!-- Keep this comment at the end of the file
76
80
Local variables:
77
81
mode: sgml
78
82