[DOC-CVS] [doc-en] master: isrighttoleft.xml Add the `<?php` tag (#5514)

[email protected] (Mikhail Alferov via GitHub) Sun, 3 May 2026 13:20:59 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2026-05-03T15:20:56+02:00

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

isrighttoleft.xml Add the `<?php` tag (#5514)

* isrighttoleft.xml Add the `<?php` tag

* isrighttoleft.xml Add  `role="php"`

Changed paths:
  M  reference/intl/locale/isrighttoleft.xml


Diff:

diff --git a/reference/intl/locale/isrighttoleft.xml b/reference/intl/locale/isrighttoleft.xml
index c0a3e2c22f7b..75ef6eafa557 100644
--- a/reference/intl/locale/isrighttoleft.xml
+++ b/reference/intl/locale/isrighttoleft.xml
@@ -84,8 +84,10 @@
   &reftitle.examples;
   <example>
    <title>Checking text direction for a locale</title>
-   <programlisting>
+   <programlisting role="php">
 <![CDATA[
+<?php
+
 var_dump(Locale::isRightToLeft('en-US'));
 var_dump(Locale::isRightToLeft('ar'));
 ]]>