[DOC-CVS] [doc-en] master: fix role of codeblocks (#4853)

[email protected] (natsuki ueda via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: natsuki ueda (natsuki-engr)
Committer: GitHub (web-flow)
Pusher: mumumu
Date: 2025-08-30T13:10:53+09:00

Commit: https://github.com/php/doc-en/commit/a60ef65239113c7871643be68ada91081376c936
Raw diff: https://github.com/php/doc-en/commit/a60ef65239113c7871643be68ada91081376c936.diff

fix role of codeblocks (#4853)

Changed paths:
  M  reference/mbstring/functions/mb-decode-numericentity.xml
  M  reference/mbstring/functions/mb-encode-numericentity.xml


Diff:

diff --git a/reference/mbstring/functions/mb-decode-numericentity.xml b/reference/mbstring/functions/mb-decode-numericentity.xml
index 405bea681f01..f042a57947e2 100644
--- a/reference/mbstring/functions/mb-decode-numericentity.xml
+++ b/reference/mbstring/functions/mb-decode-numericentity.xml
@@ -104,7 +104,7 @@
   <para>
    <example>
     <title><parameter>map</parameter> example</title>
-    <programlisting>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $convmap = array (
diff --git a/reference/mbstring/functions/mb-encode-numericentity.xml b/reference/mbstring/functions/mb-encode-numericentity.xml
index 9537bb0dd4b2..7334bdeed352 100644
--- a/reference/mbstring/functions/mb-encode-numericentity.xml
+++ b/reference/mbstring/functions/mb-encode-numericentity.xml
@@ -107,7 +107,7 @@
   <para>
    <example>
     <title><parameter>map</parameter> example</title>
-    <programlisting>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $convmap = array (
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.