note 36029 added to function.array-fill

From: Date: Tue, 23 Sep 2003 12:51:26 +0000
Subject: note 36029 added to function.array-fill
Groups: php.notes 
Request: Send a blank email to php-notes+get-56973@lists.php.net to get a copy of this message
surement à ameliorer : function array_fill_recursive(&$array, $value = ''){ foreach($array as $k=>$v){ if(!is_array($v)){ $array[$k] = $value; } else{ array_fill_recursive($array[$k], $value); } } } ---- Manual Page -- http://www.php.net/manual/en/function.array-fill.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36029 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36029&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36029&report=yes

« previous php.notes (#56973) next »