tidyNode::isPhp
Checks if a node is PHP
&reftitle.description;
booltidyNode::isPhp
Tells if the node is PHP.
&reftitle.returnvalues;
Returns &true; if the current node is PHP code, &false; otherwise.
&reftitle.examples;
Extract PHP code from a mixed HTML document
title'; ?>
<#
/* JSTE code */
alert('Hello World');
#>
<%
/* ASP code */
response.write("Hello World!")
%>
Hello World