didou Wed Jul 16 13:17:55 2003 EDT
Modified files:
/phpdoc/en/reference/outcontrol/functions ob-start.xml
Log:
adding PHP tags in the examples
Index: phpdoc/en/reference/outcontrol/functions/ob-start.xml
diff -u phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.4
phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.5
--- phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.4 Sat Jun 28 03:24:36
2003
+++ phpdoc/en/reference/outcontrol/functions/ob-start.xml Wed Jul 16 13:17:54
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
<refentry id="function.ob-start">
<refnamediv>
@@ -72,9 +72,10 @@
delete the contents of a buffer, return "" (a null string) from callback
function.
</para>
- <example>
- <title>User defined callback function example</title>
- <programlisting role="php">
+ <para>
+ <example>
+ <title>User defined callback function example</title>
+ <programlisting role="php">
<![CDATA[
<?php
@@ -101,12 +102,11 @@
?>
]]>
- </programlisting>
- </example>
- <para>
- Would produce:
- <informalexample>
- <programlisting role="php">
+ </programlisting>
+ <para>
+ Would produce:
+ </para>
+ <screen>
<![CDATA[
<html>
<body>
@@ -114,8 +114,8 @@
</body>
</html>
]]>
- </programlisting>
- </informalexample>
+ </screen>
+ </example>
</para>
<para>
See also <function>ob_get_contents</function>,
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php