How could I extract the string "text" from this markup using the PHP DOM?
<div><span>notthis</span>text</div>
$div->nodeValue includes "notthis"
How could I extract the string "text" from this markup using the PHP DOM?
<div><span>notthis</span>text</div>
$div->nodeValue includes "notthis"