Function.tidy-warning-count
Aus PHP-Wiki
Typklassen und Vergleich, «Wert von 1914» in der Wohngebäudeversicherung . Private Krankenversicherung
tidy_warning_count — Returns the Number of Tidy warnings encountered for specified document
Inhaltsverzeichnis |
Beschreibung
int tidy_warning_count ( tidy $object )
tidy_warning_count() returns the number of Tidy warnings
encountered for the specified document.
Parameter-Liste
- object
- The Tidy object.
Rückgabewerte
Returns the number of warnings.
Beispiele
Beispiel #1 tidy_warning_count() example
<?php $html = 'test bogus'; $tidy = tidy_parse_string($html); echo tidy_error_count($tidy) . "\n"; //1 echo tidy_warning_count($tidy) . "\n"; //5 ?>