1--TEST-- 2Dom\HTMLDocument loading with unicode codepoints resulting in an error 3--EXTENSIONS-- 4dom 5--FILE-- 6<?php 7echo "--- createFromFile ---\n"; 8Dom\HTMLDocument::createFromFile(__DIR__."/utf16le_error.html"); 9echo "--- createFromString ---\n"; 10Dom\HTMLDocument::createFromString(file_get_contents(__DIR__."/utf16le_error.html")); 11?> 12--EXPECTF-- 13--- createFromFile --- 14 15Warning: Dom\HTMLDocument::createFromFile(): tokenizer error missing-end-tag-name in %s on line %d 16 17Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d 18 19Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d 20--- createFromString --- 21 22Warning: Dom\HTMLDocument::createFromString(): tokenizer error missing-end-tag-name in Entity, line: 7, column: 29 in %s on line %d 23 24Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 7, column: 14-17 in %s on line %d 25 26Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 8, column: 7-10 in %s on line %d 27