Lines Matching refs:tidy
2 tidy and tidyNode OO
4 <?php if (!extension_loaded('tidy')) echo 'skip'; ?>
9 new tidy();
10 var_dump(new tidy());
14 $tidy = new tidy();
15 $tidy->parseString('<html><?php echo "xpto;" ?></html>');
17 var_dump(tidy_get_root($tidy)->child[0]->isHtml());
18 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isPHP());
19 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isAsp());
20 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isJste());
21 var_dump(tidy_get_root($tidy)->child[0]->child[0]->type === TIDY_NODETYPE_PHP);
23 var_dump(tidy_get_root($tidy)->child[0]->hasChildren());
24 var_dump(tidy_get_root($tidy)->child[0]->child[0]->hasChildren());
28 object(tidy)#1 (2) {