Fatal error: Uncaught Error: Non-static method DOMDocument::loadHTML() cannot be called statically in /in/vN6m5:16
Stack trace:
#0 {main}
thrown in /in/vN6m5 on line 16
Process exited with code 255.
Deprecated: Non-static method DOMDocument::loadHTML() should not be called statically in /in/vN6m5 on line 16
Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 8 in /in/vN6m5 on line 16
<!DOCTYPE html>
<html><head><title>Parse Test</title></head><body>
<script type="x-not/x-javascript"><!--
<p>This should not attempt to be parsed.
--></script></body></html>
Output for 7.3.32 - 7.3.33
Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 8 in /in/vN6m5 on line 16
<!DOCTYPE html>
<html><head><title>Parse Test</title></head><body>
<script type="x-not/x-javascript"><!--
<p>This should not attempt to be parsed.
--></script></body></html>
Strict Standards: Non-static method DOMDocument::loadHTML() should not be called statically in /in/vN6m5 on line 16
Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 8 in /in/vN6m5 on line 16
<!DOCTYPE html>
<html><head><title>Parse Test</title></head><body>
<script type="x-not/x-javascript"><!--
<p>This should not attempt to be parsed.
--></script></body></html>
Strict Standards: Non-static method DOMDocument::loadHTML() should not be called statically in /in/vN6m5 on line 16
Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 8 in /in/vN6m5 on line 16
<!DOCTYPE html>
<html>
<head><title>Parse Test</title></head>
<body>
<script type="x-not/x-javascript"><!--
<p>This should not attempt to be parsed.
--></script>
</body>
</html>
Output for 5.1.2
Strict Standards: Non-static method DOMDocument::loadHTML() should not be called statically in /in/vN6m5 on line 17
Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 8 in /in/vN6m5 on line 17
<!DOCTYPE html>
<html>
<head><title>Parse Test</title></head>
<body>
<script type="x-not/x-javascript"><!--
<p>This should not attempt to be parsed.
--></script>
</body>
</html>