reference/mbstring/functions/mb-strimwidth.xml
ca4b9d11a25fc9f8dde7561c504ed466ed1d6c63
...
...
@@ -51,7 +51,13 @@
51
51
<term><parameter>width</parameter></term>
52
52
<listitem>
53
53
<para>
54
-
The width of the desired trim. Negative widths count from the end of the string.
54
+
The width of the desired trim.
55
+
If negative width is specified, count from the end of the string.
56
+
<note>
57
+
<para>
58
+
Passing negative width is deprecated as of PHP 8.3.0.
59
+
</para>
60
+
</note>
55
61
</para>
56
62
</listitem>
57
63
</varlistentry>
...
...
@@ -93,6 +99,13 @@
93
99
</row>
94
100
</thead>
95
101
<tbody>
102
+
<row>
103
+
<entry>8.3.0</entry>
104
+
<entry>
105
+
Passing a negative <parameter>width</parameter> to
106
+
<function>mb_strimwidth</function> is now deprecated.
107
+
</entry>
108
+
</row>
96
109
&mbstring.changelog.encoding-nullable;
97
110
<row>
98
111
<entry>7.1.0</entry>
99
112