[Fusionforge-commits] r12467 - trunk/src/common/include

Olivier Berger olberger at fusionforge.org
Tue Mar 1 19:15:39 CET 2011


Author: olberger
Date: 2011-03-01 19:15:39 +0100 (Tue, 01 Mar 2011)
New Revision: 12467

Modified:
   trunk/src/common/include/utils.php
Log:
Adding docs borrowed from PHP docs

Modified: trunk/src/common/include/utils.php
===================================================================
--- trunk/src/common/include/utils.php	2011-03-01 18:15:28 UTC (rev 12466)
+++ trunk/src/common/include/utils.php	2011-03-01 18:15:39 UTC (rev 12467)
@@ -1254,6 +1254,12 @@
 
 // array_replace_recursive only appeared in PHP 5.3.0
 if (!function_exists('array_replace_recursive')) {
+	/**
+	 * Replaces elements from passed arrays into the first array recursively
+	 * @param array $a1 The array in which elements are replaced. 
+	 * @param array $a2 The array from which elements will be extracted. 
+	 * @return Returns an array, or NULL if an error occurs. 
+	 */
 	function array_replace_recursive ($a1, $a2) {
 		$result = $a1 ;
 




More information about the Fusionforge-commits mailing list