Commit fad43236348 for php.net

commit fad432363485a1f6e47bc20e3929b50d892cd2c9
Author: Jordi Kroon <jkroon@onyourmarks.agency>
Date:   Sun Apr 19 11:31:47 2026 +0200

    Replace google.com with example.com in URI test fixtures (#21807)

diff --git a/ext/uri/tests/008.phpt b/ext/uri/tests/008.phpt
index e13130bb4c4..133f225aabf 100644
--- a/ext/uri/tests/008.phpt
+++ b/ext/uri/tests/008.phpt
@@ -39,12 +39,12 @@ function callWhatWgGetters($url)
     var_dump($url->getFragment());
 }

-$uri = Uri\Rfc3986\Uri::parse("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$uri = Uri\Rfc3986\Uri::parse("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 callRfc3986Getters($uri);

 echo "\n";

-$url = Uri\WhatWg\Url::parse("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$url = Uri\WhatWg\Url::parse("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 callWhatWgGetters($url);

 ?>
@@ -57,8 +57,8 @@ function callWhatWgGetters($url)
 string(8) "password"
 string(17) "username:password"
 string(17) "username:password"
-string(14) "www.google.com"
-string(14) "www.google.com"
+string(15) "www.example.com"
+string(15) "www.example.com"
 int(8080)
 string(30) "/pathname1/pathname2/pathname3"
 string(30) "/pathname1/pathname2/pathname3"
@@ -70,8 +70,8 @@ function callWhatWgGetters($url)
 string(5) "https"
 string(8) "username"
 string(8) "password"
-string(14) "www.google.com"
-string(14) "www.google.com"
+string(15) "www.example.com"
+string(15) "www.example.com"
 int(8080)
 string(30) "/pathname1/pathname2/pathname3"
 string(10) "query=true"
diff --git a/ext/uri/tests/031.phpt b/ext/uri/tests/031.phpt
index a761cf8a4d9..ae84596b54e 100644
--- a/ext/uri/tests/031.phpt
+++ b/ext/uri/tests/031.phpt
@@ -5,7 +5,7 @@
 --FILE--
 <?php

-$uri1 = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$uri1 = new Uri\Rfc3986\Uri("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 $serializedUri1 = serialize($uri1);
 $uri2 = unserialize($serializedUri1);

@@ -60,7 +60,7 @@
     echo $e->getMessage() . "\n";
 }

-$url1 = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$url1 = new Uri\WhatWg\Url("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 $serializedUrl1 = serialize($url1);
 $url2 = unserialize($serializedUrl1);

@@ -123,7 +123,7 @@

 ?>
 --EXPECTF--
-string(163) "O:15:"Uri\Rfc3986\Uri":2:{i:0;a:1:{s:3:"uri";s:98:"https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
+string(164) "O:15:"Uri\Rfc3986\Uri":2:{i:0;a:1:{s:3:"uri";s:99:"https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
 object(Uri\Rfc3986\Uri)#%d (%d) {
   ["scheme"]=>
   string(5) "https"
@@ -132,7 +132,7 @@
   ["password"]=>
   string(8) "password"
   ["host"]=>
-  string(14) "www.google.com"
+  string(15) "www.example.com"
   ["port"]=>
   int(8080)
   ["path"]=>
@@ -150,7 +150,7 @@
 Invalid serialization data for Uri\Rfc3986\Uri object
 Invalid serialization data for Uri\Rfc3986\Uri object
 Invalid serialization data for Uri\Rfc3986\Uri object
-string(162) "O:14:"Uri\WhatWg\Url":2:{i:0;a:1:{s:3:"uri";s:98:"https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
+string(163) "O:14:"Uri\WhatWg\Url":2:{i:0;a:1:{s:3:"uri";s:99:"https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
 object(Uri\WhatWg\Url)#%d (%d) {
   ["scheme"]=>
   string(5) "https"
@@ -159,7 +159,7 @@
   ["password"]=>
   string(8) "password"
   ["host"]=>
-  string(14) "www.google.com"
+  string(15) "www.example.com"
   ["port"]=>
   int(8080)
   ["path"]=>
diff --git a/ext/uri/tests/032.phpt b/ext/uri/tests/032.phpt
index b3e67022388..070d9dd0189 100644
--- a/ext/uri/tests/032.phpt
+++ b/ext/uri/tests/032.phpt
@@ -5,10 +5,10 @@
 --FILE--
 <?php

-$uri = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$uri = new Uri\Rfc3986\Uri("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 var_dump(json_encode($uri));

-$url = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$url = new Uri\WhatWg\Url("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 var_dump(json_encode($url));

 ?>
diff --git a/ext/uri/tests/033.phpt b/ext/uri/tests/033.phpt
index 65e8ab26a2d..dcfaa31c07b 100644
--- a/ext/uri/tests/033.phpt
+++ b/ext/uri/tests/033.phpt
@@ -5,11 +5,11 @@
 --FILE--
 <?php

-$uri = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$uri = new Uri\Rfc3986\Uri("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 var_export($uri);
 echo "\n";

-$url = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$url = new Uri\WhatWg\Url("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 var_export($url);
 echo "\n";

diff --git a/ext/uri/tests/034.phpt b/ext/uri/tests/034.phpt
index 92cbdcb5019..c6590252ea1 100644
--- a/ext/uri/tests/034.phpt
+++ b/ext/uri/tests/034.phpt
@@ -5,10 +5,10 @@
 --FILE--
 <?php

-$uri = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$uri = new Uri\Rfc3986\Uri("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 var_dump((array) $uri);

-$url = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
+$url = new Uri\WhatWg\Url("https://username:password@www.example.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
 var_dump((array) $url);

 ?>