Skip to content

Commit 5d7f95f

Browse files
committed
Document max_input_vars impact on parse_str() (fixes #4521)
1 parent 0f14761 commit 5d7f95f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/strings/functions/parse-str.xml

+9
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@ echo $output['My_Value']; // Something
142142
<refsect1 role="notes">
143143
&reftitle.notes;
144144

145+
<note>
146+
<para>
147+
<function>parse_str()</function> is affected by the <link linkend="ini.max-input-vars">max_input_vars</link>
148+
directive. Exceeding this limit triggers an <constant>E_WARNING</constant>,
149+
and any variables beyond the limit are not added to the result array.
150+
The default is 1000; adjust <link linkend="ini.max-input-vars">max_input_vars</link> as needed.
151+
</para>
152+
</note>
153+
145154
<note>
146155
<para>
147156
All variables created (or values returned into array if second parameter is set)

0 commit comments

Comments
 (0)