mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
31ea0382c0
commit
4c162d5be8
1 changed files with 10 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue