From 31dfaa4853a3678e7d159a52dcb51cc9647b267d Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sat, 29 May 2004 14:14:29 +0000 Subject: [PATCH] fix example to new behaviour git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@160002 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/tidy/functions/tidy-config-count.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reference/tidy/functions/tidy-config-count.xml b/reference/tidy/functions/tidy-config-count.xml index c1538c08e2..b11e0e587d 100644 --- a/reference/tidy/functions/tidy-config-count.xml +++ b/reference/tidy/functions/tidy-config-count.xml @@ -1,5 +1,5 @@ - + tidy_config_count @@ -25,11 +25,12 @@ test'; -$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); ?> ]]>