tidy_warning_count(3) php man page | unix.com

Man Page: tidy_warning_count

Operating Environment: php

Section: 3

TIDY_WARNING_COUNT(3)							 1						     TIDY_WARNING_COUNT(3)

tidy_warning_count - Returns the Number of Tidy warnings encountered for specified document

SYNOPSIS
int tidy_warning_count (tidy $object)
DESCRIPTION
Returns the number of Tidy warnings encountered for the specified document.
PARAMETERS
o $object - The Tidy object.
RETURN VALUES
Returns the number of warnings.
EXAMPLES
Example #1 tidy_warning_count(3) example <?php $html = '<p>test</i> <bogustag>bogus</bogustag>'; $tidy = tidy_parse_string($html); echo tidy_error_count($tidy) . " "; //1 echo tidy_warning_count($tidy) . " "; //5 ?>
SEE ALSO
tidy_error_count(3), tidy_access_count(3). PHP Documentation Group TIDY_WARNING_COUNT(3)
Related Man Pages
tidy_diagnose(3) - php
tidy_get_error_buffer(3) - php
tidy_get_html(3) - php
tidy_getopt(3) - php
tidy.html(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update