didou Mon Nov 24 08:23:09 2003 EDT
Modified files:
/phpdoc/en/reference/http/functions headers-list.xml
Log:
using screen tags
Index: phpdoc/en/reference/http/functions/headers-list.xml
diff -u phpdoc/en/reference/http/functions/headers-list.xml:1.1
phpdoc/en/reference/http/functions/headers-list.xml:1.2
--- phpdoc/en/reference/http/functions/headers-list.xml:1.1 Thu Nov 20 16:25:22
2003
+++ phpdoc/en/reference/http/functions/headers-list.xml Mon Nov 24 08:23:09 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.headers-list">
<refnamediv>
<refname>headers_list</refname>
@@ -36,10 +36,14 @@
/* What headers are going to be sent? */
var_dump(headers_list());
-
-/* OUTPUT
- ======
-
+?>
+]]>
+ </programlisting>
+ <para>
+ this will output :
+ </para>
+ <screen>
+<![CDATA[
array(4) {
[0]=>
string(29) "X-Powered-By: PHP/5.0.0"
@@ -51,11 +55,8 @@
string(24) "Content-type: text/plain"
}
-*/
-
-?>
]]>
- </programlisting>
+ </screen>
</example>
</para>
<simpara>