php str_get_html is not loading a valid html string

define('MAX_FILE_SIZE', 6000000); 

Source: php – str_get_html is not loading a valid html string – Stack Overflow