|
PHP5中文手册
tidyNode->isPhp(PHP 5 >= 5.0.1) tidyNode->isPhp — Returns true if this node is PHP Description
bool tidyNode->isPhp
( void
)
Returns TRUE if the current node is PHP code, FALSE otherwise.
Example#1 get the PHP code from a mixed HTML/PHP document
<?php 上例将输出:
|