[doc-en] master: isrighttoleft.xml Add the `<?php` tag (#5514)
| From: | Mikhail Alferov via GitHub | Date: | Sun, 03 May 2026 13:20:59 +0000 |
| Subject: | [doc-en] master: isrighttoleft.xml Add the `<?php` tag (#5514) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23265@lists.php.net to get a copy of this message | ||
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'));
]]>