|
PHP5中文手册
tidy_get_root(PHP 5, PECL tidy:0.5.2-1.0) tidy_get_root — Returns a tidyNode object representing the root of the tidy parse tree DescriptionProcedural style:
tidyNode tidy_get_root
( tidy $object
)
Object oriented style:
tidyNode tidy->root
( void
)
Returns a tidyNode object representing the root of the tidy parse tree.
Example#1 dump nodes
<?php 上例将输出:
|