cvs: phpdoc /en/reference/tidy/functions tidy-config-count.xml
| From: | Nuno Lopes | Date: | Sat, 29 May 2004 14:14:29 +0000 |
| Subject: | cvs: phpdoc /en/reference/tidy/functions tidy-config-count.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969361078@lists.php.net to get a copy of this message | ||
nlopess Sat May 29 10:14:29 2004 EDT
Modified files:
/phpdoc/en/reference/tidy/functions tidy-config-count.xml
Log:
fix example to new behaviour
http://cvs.php.net/diff.php/phpdoc/en/reference/tidy/functions/tidy-config-count.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/tidy/functions/tidy-config-count.xml
diff -u phpdoc/en/reference/tidy/functions/tidy-config-count.xml:1.2
phpdoc/en/reference/tidy/functions/tidy-config-count.xml:1.3
--- phpdoc/en/reference/tidy/functions/tidy-config-count.xml:1.2 Sat Feb 21 05:41:02 2004
+++ phpdoc/en/reference/tidy/functions/tidy-config-count.xml Sat May 29 10:14:29 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.tidy-config-count">
<refnamediv>
<refname>tidy_config_count</refname>
@@ -25,11 +25,12 @@
<?php
$html = '<p>test</I>';
-$config = array('foo' => 'bar');
+$config = array('doctype' => 'bogus');
$tidy = tidy_parse_string($html, $config);
-echo tidy_config_count($tidy); //1
+/* This outputs 1, because 'bogus' isn't a valid doctype */
+echo tidy_config_count($tidy);
?>
]]>
</programlisting>