Having a strange behavior using simple html dom
$html = str_get_html($output, true, true, DEFAULT_TARGET_CHARSET, false);
Than
var_dump($html->find('title', 0));
returns an object. It's ok
But
var_dump($html->find('body', 0));
returns NULL.
I can't understand what's wrong.
mb_detect_encoding($output);
returns UTF-8 - all seems to be ok with the string.
I increased MAX_FILE_SIZE to 6000000 - it not helps (((