note 36029 rejected from function.array-fill by ali

From: Date: Tue, 23 Sep 2003 12:57:58 +0000
Subject: note 36029 rejected from function.array-fill by ali
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56975@lists.php.net to get a copy of this message
Note Submitter: javases@javases.com ---- 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); } } }

« previous php.notes (#56975) next »