Fixed #51453 (Mentioning NULL as special value for replacement in array_splice())

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297304 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-04-01 20:33:18 +00:00
parent bafb2042b6
commit d6f393442b

View file

@ -28,7 +28,7 @@
If <parameter>replacement</parameter> is not an array, it will be
<link linkend="language.types.array.casting">typecast</link>
to one (i.e. <code>(array) $parameter</code>). This may result in unexpected
behavior when using an object <parameter>replacement</parameter>.
behavior when using an object or &null; <parameter>replacement</parameter>.
</simpara>
</note>
</refsect1>
@ -91,7 +91,7 @@
<para>
If <parameter>replacement</parameter> is just one element it is
not necessary to put <literal>array()</literal>
around it, unless the element is an array itself.
around it, unless the element is an array itself, an object or &null;.
</para>
</listitem>
</varlistentry>