PHP » GoLang |
login |
register |
about
|
tidy::diagnosetidy_diagnose(PHP 5, PHP 7, PECL tidy >= 0.5.2) tidy::diagnose -- tidy_diagnose — Run configured diagnostics on parsed and repaired markup DescriptionObject oriented style
bool tidy::diagnose
( void
)
Procedural style
Runs diagnostic tests on the given tidy Return Values
Returns Examples
Example #1 tidy::diagnose() example
<?php The above example will output: line 4 column 1 - Warning: <p> isn't allowed in <head> elements line 4 column 1 - Warning: inserting missing 'title' element line 4 column 1 - Warning: <p> isn't allowed in <head> elements line 4 column 1 - Warning: inserting missing 'title' element Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" Info: Document content looks like XHTML 1.0 Strict 2 warnings, 0 errors were found! See Also
|
more
Recently updated
more
Most requested
more
Last requests
|