(PHP 5, PHP 7, PHP 8)
tidyNode::isJste — Checks if this node is JSTE
Diese Funktion besitzt keine Parameter.
Beispiel #1 Extract JSTE code from a mixed HTML document
<?php
$html = <<< HTML
<html><head>
<?php echo '<title>title</title>'; ?>
<#
alert('Hello World');
#>
</head>
<body>
<?php
Das oben gezeigte Beispiel erzeugt folgende Ausgabe:
# jste node #1 <# alert('Hello World'); #>