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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user