htmlParseDoc is available since version 1.0.
Prototype:
number htmlParseDoc(string cur, string encoding)
Parameters
encoding
a string describing the encoding or an empty string
Description:
Parse an HTML in-memory document and build a tree.
Return value:
Returns the resulting document tree.