Author: Tim Düsterhus (TimWolla)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-11-29T13:28:45+03:00
Commit: releases/8.4: Consistently use nowdoc for the HTML string (#1170) · php/web-php@837e36b · GitHub
Raw diff: https://github.com/php/web-php/commit/837e36bbb880c08deee81a657b7c5a8b394f2cfb.diff
releases/8.4: Consistently use nowdoc for the HTML string (#1170)
Changed paths:
M releases/8.4/release.inc
Diff:
diff --git a/releases/8.4/release.inc b/releases/8.4/release.inc
index b3d8f10790..0cbcd0962b 100644
--- a/releases/8.4/release.inc
+++ b/releases/8.4/release.inc
@@ -314,7 +314,7 @@ PHP
<?php highlight_php_trimmed(
<<<'PHP'
$dom = Dom\HTMLDocument::createFromString(
- <<<HTML
+ <<<'HTML'
<main>
<article>PHP 8.4 is a feature-rich release!</article>
<article class="featured">PHP 8.4 adds new DOM classes that are spec-compliant, keeping the old ones for compatibility.</article>