svn: /phpdoc/en/trunk/reference/array/functions/ array-combine.xml

From: Date: Thu, 30 Jun 2011 16:53:51 +0000
Subject: svn: /phpdoc/en/trunk/reference/array/functions/ array-combine.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8367@lists.php.net to get a copy of this message
vrana Thu, 30 Jun 2011 16:53:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312709 Log: Doesn't return false for empty arrays anymore Changed paths: U phpdoc/en/trunk/reference/array/functions/array-combine.xml Modified: phpdoc/en/trunk/reference/array/functions/array-combine.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/array-combine.xml 2011-06-30 16:13:19 UTC (rev 312708) +++ phpdoc/en/trunk/reference/array/functions/array-combine.xml 2011-06-30 16:53:51 UTC (rev 312709) @@ -52,19 +52,44 @@ &reftitle.returnvalues; <para> Returns the combined <type>array</type>, &false; if the number of elements - for each array isn't equal or if the arrays are empty. + for each array isn't equal. </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> - Throws <constant>E_WARNING</constant> if <parameter>keys</parameter> and - <parameter>values</parameter> are either empty or the number of elements - does not match. + Throws <constant>E_WARNING</constant> if the number of elements in + <parameter>keys</parameter> and <parameter>values</parameter> does not + match. </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.4.0</entry> + <entry> + Previous versions issued <constant>E_WARNING</constant> and returned + &false; for empty arrays. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para>

« previous php.doc.cvs (#8367) next »