mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
bafb2042b6
commit
d6f393442b
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue