cvs: phpdoc /en/reference/http/functions/parsers http-parse-message.xml

From: Date: Sat, 23 Sep 2006 18:39:49 +0000
Subject: cvs: phpdoc /en/reference/http/functions/parsers http-parse-message.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374087@lists.php.net to get a copy of this message
philip Sat Sep 23 18:39:49 2006 UTC Modified files: /phpdoc/en/reference/http/functions/parsers http-parse-message.xml Log: Reword the documentation, add markup, and fix the example (closes bug #38936) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/functions/parsers/http-parse-message.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/http/functions/parsers/http-parse-message.xml diff -u phpdoc/en/reference/http/functions/parsers/http-parse-message.xml:1.2 phpdoc/en/reference/http/functions/parsers/http-parse-message.xml:1.3 --- phpdoc/en/reference/http/functions/parsers/http-parse-message.xml:1.2 Wed Sep 6 20:40:38 2006 +++ phpdoc/en/reference/http/functions/parsers/http-parse-message.xml Sat Sep 23 18:39:49 2006 @@ -1,11 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry id="function.http-parse-message"> <refnamediv> <refname>http_parse_message</refname> - <refpurpose>Parse HTTP message -</refpurpose> + <refpurpose>Parse the HTTP message</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -14,7 +13,8 @@ <methodparam><type>string</type><parameter>message</parameter></methodparam> </methodsynopsis> <para> - Parses (a) http_message(s) into a simple recursive object structure. + Parses the HTTP <parameter>message</parameter> into a simple + recursive <type>object</type>. </para> </refsect1> <refsect1 role="parameters"> @@ -35,7 +35,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns an hierarchical object structure of the parsed messages. + A hierarchical <type>object</type> structure of the parsed messages. </para> </refsect1> @@ -82,11 +82,12 @@ <programlisting role="php"> <![CDATA[ <?php -print_r(http_parse_message(http_get(URL, array('redirect' => 3))); +define ('URL', 'http://www.example.com/'); +print_r(http_parse_message(http_get(URL, array('redirect' => 3)))); ?> ]]> </programlisting> - &example.outputs; + &example.outputs.similar; <screen> <![CDATA[ stdClass object

« previous php.doc (#969374087) next »