Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions reference/filesystem/functions/parse-ini-file.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
<para>
The structure of the ini file is the same as the &php.ini;'s.
</para>
<warning>
<simpara>
This function must not be used with untrusted inputs, unless
<parameter>scanner_mode</parameter> is <constant>INI_SCANNER_RAW</constant>
since the parsed output might contain the values of sensitive
constants, such as constants holding a database password.
</simpara>
</warning>
</refsect1>

<refsect1 role="parameters">
Expand Down
8 changes: 8 additions & 0 deletions reference/filesystem/functions/parse-ini-string.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
<para>
The structure of the ini string is the same as the &php.ini;'s.
</para>
<warning>
<simpara>
This function must not be used with untrusted inputs, unless
<parameter>scanner_mode</parameter> is <constant>INI_SCANNER_RAW</constant>
since the parsed output might contain the values of sensitive
constants, such as constants holding a database password.
</simpara>
</warning>
</refsect1>

<refsect1 role="parameters">
Expand Down