tidy_config_count
(PHP 5, PECL tidy >= 0.5.2)
tidy_config_count — بازگرداندن تعداد خطای تنظیمات Tidy مواجه شده برای سند مشخص
Description
بازگرداندن تعداد خطای مواجه شده در تنظیمات tidy object مشخص.
Return Values
بازگرداندن تعداد خطا.
Examples
Example #1 مثال tidy_config_count()
<?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);
?>
There are no user contributed notes for this page.
