using screen tags

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@144819 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-11-24 13:23:09 +00:00
parent 31ea0382c0
commit 4c162d5be8

View file

@ -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 @@ header('Content-type: text/plain');
/* 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 @@ array(4) {
string(24) "Content-type: text/plain"
}
*/
?>
]]>
</programlisting>
</screen>
</example>
</para>
<simpara>