Warning: DOMDocument::loadHTML(): Unexpected end tag : h1 in Entity, line: 4 in /in/8YneA on line 4
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<script>
console.log("<h1>hello");
</script>
</head>
<body>
</body>
</html>
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: DOMDocument::loadHTML(): Unexpected end tag : h1 in Entity, line: 4 in /in/8YneA on line 4
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<script>
console.log("<h1>hello");
</script>
</head>
<body>
</body>
</html>
Warning: DOMDocument::loadHTML(): Unexpected end tag : h1 in Entity, line: 4 in /in/8YneA on line 4
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><script>
console.log("<h1>hello");
</script></head><body>
</body></html>
Warning: DOMDocument::loadHTML(): Unexpected end tag : h1 in Entity, line: 4 in /in/8YneA on line 13
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><script>
console.log("<h1>hello");
</script></head><body>
</body></html>