cvs: peardoc /en/package/php/php-compatinfo faq.xml
| From: | Laurent Laville | Date: | Sat, 26 Jul 2008 09:15:23 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo faq.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11027@lists.php.net to get a copy of this message | ||
farell Sat Jul 26 09:15:23 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo faq.xml
Log:
clarify example of faq entry
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/faq.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/php/php-compatinfo/faq.xml
diff -u peardoc/en/package/php/php-compatinfo/faq.xml:1.3
peardoc/en/package/php/php-compatinfo/faq.xml:1.4
--- peardoc/en/package/php/php-compatinfo/faq.xml:1.3 Sat Jun 28 09:32:53 2008
+++ peardoc/en/package/php/php-compatinfo/faq.xml Sat Jul 26 09:15:23 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.php.php-compatinfo.faq">
<refnamediv>
<refname>FAQ</refname>
@@ -105,7 +105,7 @@
</question>
<answer>
<para>
- Even it's the new behavior of API 1.8.0, you can still consumes all output
+ Even if it's the new behavior of API 1.8.0, you can still consumes all output
events with the <emphasis>Null</emphasis> renderer.
Give the <emphasis role="bold">null</emphasis> value (case insensitive),
as
first parameter to the class constructor.
@@ -116,6 +116,8 @@
$pci = new PHP_CompatInfo('null');
+$res = $pci->parseData($datasource);
+
// display results is only produced by the line below
var_dump($res);
?>