svn: /phpdoc/en/trunk/reference/array/functions/ array-splice.xml
| From: | Daniel Egeberg | Date: | Thu, 01 Apr 2010 20:33:18 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ array-splice.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6306@lists.php.net to get a copy of this message | ||
degeberg Thu, 01 Apr 2010 20:33:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=297304
Log:
Fixed #51453 (Mentioning NULL as special value for replacement in array_splice())
Bug: http://bugs.php.net/51453 (Open) Mentioning NULL as
special value for replacement in array_splice()
Changed paths:
U phpdoc/en/trunk/reference/array/functions/array-splice.xml
Modified: phpdoc/en/trunk/reference/array/functions/array-splice.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-splice.xml 2010-04-01 20:21:50 UTC (rev 297303)
+++ phpdoc/en/trunk/reference/array/functions/array-splice.xml 2010-04-01 20:33:18 UTC (rev 297304)
@@ -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>