tidyNode::isPhp
tidyNode::isPhp
(PHP 5 >= 5.0.1, PHP 7)
tidyNode::isPhp — Checks if a node is PHP
Description
bool tidyNode::isPhp ( void )
Tells if the node is PHP.
Return Values
Returns TRUE
if the current node is PHP code, FALSE
otherwise.
Examples
Example #1 Extract PHP code from a mixed HTML docum