PHP » GoLang |
login |
register |
about
|
GoLang tidyNode::isComment
request it (569)
GoLang replacement for PHP's tidyNode::isComment
[edit | history]
tidyNode::isComment(PHP 5, PHP 7) tidyNode::isComment — Checks if a node represents a comment Description
bool tidyNode::isComment
( void
)
Tells if the node is a comment. Return Values
Returns Examples
Example #1 Extract comments from a mixed HTML document
<?phpThe above example will output:
# jste node #1
<#
/* JSTE code */
alert('Hello World');
#>
|
more
Most requested
more
Last requests
|