document passing non-scalars to strtr().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329430 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Karoly Negyesi 2013-02-05 09:43:01 +00:00
parent 49d54fd72a
commit 0e7ceba0fb

View file

@ -101,7 +101,9 @@
<para>
If <parameter>replace_pairs</parameter> contains a key which
is an empty <type>string</type> (<literal>""</literal>),
&false; will be returned.
&false; will be returned. If the <parameter>str</parameter> is not a scalar
then it is not typecasted into a string, instead a warning is raised and
&null; is returned.
</para>
</refsect1>