From ad25f5f4b01245c9fc9b3ca0d2481f8136c134ad Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 9 Nov 2006 08:23:00 +0000 Subject: [PATCH] Documentation by Matt W git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223029 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-fill-keys.xml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 reference/array/functions/array-fill-keys.xml diff --git a/reference/array/functions/array-fill-keys.xml b/reference/array/functions/array-fill-keys.xml new file mode 100644 index 0000000000..3349da4b29 --- /dev/null +++ b/reference/array/functions/array-fill-keys.xml @@ -0,0 +1,52 @@ + + + + array_fill_keys + Fill an array with values, specifying keys + + + Description + + arrayarray_fill_keys + arraykeys + mixedvalue + + + array_fill_keys fills an array with the + value of the value parameter, using the + values of the keys array as keys. + + + + <function>array_fill_keys</function> example + + +]]> + + + $a now is: + + + banana + [5] => banana + [10] => banana + [bar] => banana +) +]]> + + + + + See also array_fill and + array_combine. + + +