1--TEST--
2basic array_fill_keys test
3--INI--
4precision=14
5--FILE--
6<?php
7	var_dump(array_fill_keys('test', 1));
8	var_dump(array_fill_keys(array(), 1));
9	var_dump(array_fill_keys(array('foo', 'bar'), NULL));
10	var_dump(array_fill_keys(array('5', 'foo', 10, 1.23), 123));
11	var_dump(array_fill_keys(array('test', TRUE, 10, 100), ''));
12?>
13--EXPECTF--
14
15Warning: array_fill_keys() expects parameter 1 to be array, string given in %s on line %d
16NULL
17array(0) {
18}
19array(2) {
20  ["foo"]=>
21  NULL
22  ["bar"]=>
23  NULL
24}
25array(4) {
26  [5]=>
27  int(123)
28  ["foo"]=>
29  int(123)
30  [10]=>
31  int(123)
32  ["1.23"]=>
33  int(123)
34}
35array(4) {
36  ["test"]=>
37  string(0) ""
38  [1]=>
39  string(0) ""
40  [10]=>
41  string(0) ""
42  [100]=>
43  string(0) ""
44}
45