--TEST-- basic array_fill_keys test --FILE-- --EXPECTF-- Warning: array_fill_keys(): First parameter must be an array in %s on line %d bool(false) Warning: array_fill_keys(): Keys array must have at least 1 element in %s on line %d bool(false) array(2) { ["foo"]=> NULL ["bar"]=> NULL } array(4) { [5]=> int(123) ["foo"]=> int(123) [10]=> int(123) ["1.23"]=> int(123) } array(4) { ["test"]=> string(0) "" [1]=> string(0) "" [10]=> string(0) "" [100]=> string(0) "" } --UEXPECTF-- Warning: array_fill_keys(): First parameter must be an array in %s on line %d bool(false) Warning: array_fill_keys(): Keys array must have at least 1 element in %s on line %d bool(false) array(2) { [u"foo"]=> NULL [u"bar"]=> NULL } array(4) { [5]=> int(123) [u"foo"]=> int(123) [10]=> int(123) [u"1.23"]=> int(123) } array(4) { [u"test"]=> unicode(0) "" [1]=> unicode(0) "" [10]=> unicode(0) "" [100]=> unicode(0) "" }