[DOC-CVS] [doc-en] master: Left-justify "Flags" title in `format` parameter of `sprintf` (#4551)

[email protected] (Sadetdin EYILI via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Sadetdin EYILI (sad270)
Committer: GitHub (web-flow)
Pusher: tiffany-taylor
Date: 2025-04-15T23:43:23-05:00

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

Left-justify "Flags" title in `format` parameter of `sprintf` (#4551)

Changed paths:
  M  language-snippets.ent


Diff:

diff --git a/language-snippets.ent b/language-snippets.ent
index 7875a8bf785a..eb4660dd1ef9 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -3952,57 +3952,59 @@ local: {
    </para>
   </formalpara>
 
-  <para>
-   <table>
-    <title>Flags</title>
-    <tgroup cols="2">
-     <thead>
-      <row>
-       <entry>Flag</entry>
-       <entry>&Description;</entry>
-      </row>
-     </thead>
-     <tbody>
-      <row>
-       <entry><literal>-</literal></entry>
-       <entry>
-        Left-justify within the given field width;
-        Right justification is the default
-       </entry>
-      </row>
-      <row>
-       <entry><literal>+</literal></entry>
-       <entry>
-        Prefix positive numbers with a plus sign
-        <literal>+</literal>; Default only negative
-        are prefixed with a negative sign.
-       </entry>
-      </row>
-      <row>
-       <entry><literal> </literal>(space)</entry>
-       <entry>
-        Pads the result with spaces.
-        This is the default.
-       </entry>
-      </row>
-      <row>
-       <entry><literal>0</literal></entry>
-       <entry>
-        Only left-pads numbers with zeros.
-        With <literal>s</literal> specifiers this can
-        also right-pad with zeros.
-       </entry>
-      </row>
-      <row>
-       <entry><literal>&apos;</literal>(char)</entry>
-       <entry>
-        Pads the result with the character (char).
-       </entry>
-      </row>
-     </tbody>
-    </tgroup>
-   </table>
-  </para>
+  <formalpara>
+   <title>Flags</title>
+   <para>
+    <informaltable>
+     <tgroup cols="2">
+      <thead>
+       <row>
+        <entry>Flag</entry>
+        <entry>&Description;</entry>
+       </row>
+      </thead>
+      <tbody>
+       <row>
+        <entry><literal>-</literal></entry>
+        <entry>
+         Left-justify within the given field width;
+         Right justification is the default
+        </entry>
+       </row>
+       <row>
+        <entry><literal>+</literal></entry>
+        <entry>
+         Prefix positive numbers with a plus sign
+         <literal>+</literal>; Default only negative
+         are prefixed with a negative sign.
+        </entry>
+       </row>
+       <row>
+        <entry><literal> </literal>(space)</entry>
+        <entry>
+         Pads the result with spaces.
+         This is the default.
+        </entry>
+       </row>
+       <row>
+        <entry><literal>0</literal></entry>
+        <entry>
+         Only left-pads numbers with zeros.
+         With <literal>s</literal> specifiers this can
+         also right-pad with zeros.
+        </entry>
+       </row>
+       <row>
+        <entry><literal>&apos;</literal>(char)</entry>
+        <entry>
+         Pads the result with the character (char).
+        </entry>
+       </row>
+      </tbody>
+     </tgroup>
+    </informaltable>
+   </para>
+  </formalpara>
 
   <formalpara>
    <title>Width</title>
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.