Latest version. Function str_get_html get as param $str_get_html, but uses as variable $str.
That's why it doesn't work now :)
The parameter name looks correct to me $str. What version of the library are you using?
$str
function str_get_html( $str, $lowercase = true, $forceTagsClosed = true, $target_charset = DEFAULT_TARGET_CHARSET, $stripRN = true, $defaultBRText = DEFAULT_BR_TEXT, $defaultSpanText = DEFAULT_SPAN_TEXT) { $dom = new simple_html_dom( null, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText, $defaultSpanText ); if (empty($str) || strlen($str) > MAX_FILE_SIZE) { $dom->clear(); return false; } return $dom->load($str, $lowercase, $stripRN); }
Log in to post a comment.
The parameter name looks correct to me
$str. What version of the library are you using?