[PHP-WEBMASTER] [web-php] php-85-focus: Apply suggestions from code review

[email protected] (Sergey Panteleev)
Newsgroups php.webmaster
Message-ID <[email protected]>
Author: Sergey Panteleev (saundefined)
Date: 2025-10-22T10:42:52+03:00

Commit: https://github.com/php/web-php/commit/e337daec8ecbe0f676f5f2e205b2911029e1288a
Raw diff: https://github.com/php/web-php/commit/e337daec8ecbe0f676f5f2e205b2911029e1288a.diff

Apply suggestions from code review

Co-authored-by: Tim Düsterhus <[email protected]>
Co-authored-by: Borislav Kosun <[email protected]>

Changed paths:
  M  releases/8.5/release.inc


Diff:

diff --git a/releases/8.5/release.inc b/releases/8.5/release.inc
index ca643b445f..48a2f1abbc 100644
--- a/releases/8.5/release.inc
+++ b/releases/8.5/release.inc
@@ -46,7 +46,7 @@ common_header(message('common_header', $lang));
                     <div class="php8-code phpcode">
                         <?php highlight_php_trimmed(
                                 <<<'PHP'
-$components = parse_url("https://php.net/releases/8.5/en.php");
+$components = parse_url('https://php.net/releases/8.4/en.php');
 
 var_dump($components['host']);
 // string(7) "php.net"
@@ -63,7 +63,7 @@ PHP
                                 <<<'PHP'
 use Uri\Rfc3986\Uri;
 
-$uri = new Uri("https://php.net/releases/8.5/en.php");
+$uri = new Uri('https://php.net/releases/8.5/en.php');
 
 var_dump($uri->getHost());
 // string(7) "php.net"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.