[doc-en] master: docs(intl): call grapheme_strstr in its example (#6040)
| From: | Louis-Arnaud via GitHub | Date: | Thu, 05 Nov 2026 08:21:28 +0000 |
| Subject: | [doc-en] master: docs(intl): call grapheme_strstr in its example (#6040) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23915@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-11-05T09:21:25+01:00
Commit: https://github.com/php/doc-en/commit/499af2ce44d003040a0e95878c596af5f57c8547
Raw diff: https://github.com/php/doc-en/commit/499af2ce44d003040a0e95878c596af5f57c8547.diff
docs(intl): call grapheme_strstr in its example (#6040)
Changed paths:
M reference/intl/grapheme/grapheme-strstr.xml
Diff:
diff --git a/reference/intl/grapheme/grapheme-strstr.xml
b/reference/intl/grapheme/grapheme-strstr.xml
index 571294b4a717..54099b8d5fa7 100644
--- a/reference/intl/grapheme/grapheme-strstr.xml
+++ b/reference/intl/grapheme/grapheme-strstr.xml
@@ -94,7 +94,7 @@
$char_a_ring_nfd = "a\xCC\x8A"; // 'LATIN SMALL LETTER A WITH RING ABOVE'
(U+00E5) normalization form "D"
$char_o_diaeresis_nfd = "o\xCC\x88"; // 'LATIN SMALL LETTER O WITH DIAERESIS'
(U+00F6) normalization form "D"
-print urlencode(grapheme_stristr( $char_a_ring_nfd . $char_o_diaeresis_nfd . $char_a_ring_nfd,
$char_o_diaeresis_nfd));
+print urlencode(grapheme_strstr( $char_a_ring_nfd . $char_o_diaeresis_nfd . $char_a_ring_nfd,
$char_o_diaeresis_nfd));
?>
]]>