1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

releases/8.4: Consistently use nowdoc for the HTML string (#1170)

This commit is contained in:
Tim Düsterhus
2024-11-29 11:28:45 +01:00
committed by GitHub
parent 98641f0bb9
commit 837e36bbb8

View File

@@ -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>