|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » fopen() » preg_match() » header() » getimagesize() » htmlspecialchars() » ob_start() » session_start() » strstr() » ob_flush() » preg_match_all() » strpos() » setcookie() » flush() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » urlencode() » ereg_replace() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: tidy_config_count (PHP 5) tidy_config_count -- Returns the Number of Tidy configuration errors encountered for specified documentDescriptionint tidy_config_count ( tidy object )tidy_config_count() returns the number of errors encountered in the configuration of the specified tidy object .
Example 1. tidy_config_count() example <?php $html = '<p>test</I>'; $config = array('doctype' => 'bogus'); $tidy = tidy_parse_string($html, $config); /* This outputs 1, because 'bogus' isn't a valid doctype */ echo tidy_config_count($tidy); ?> |