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--
14Warning: array_fill_keys() expects parameter 1 to be array, string given in %s on line %d
15NULL
16array(0) {
17}
18array(2) {
19  ["foo"]=>
20  NULL
21  ["bar"]=>
22  NULL
23}
24array(4) {
25  [5]=>
26  int(123)
27  ["foo"]=>
28  int(123)
29  [10]=>
30  int(123)
31  ["1.23"]=>
32  int(123)
33}
34array(4) {
35  ["test"]=>
36  string(0) ""
37  [1]=>
38  string(0) ""
39  [10]=>
40  string(0) ""
41  [100]=>
42  string(0) ""
43}
44