diff options
author | SVN Migration <svn@php.net> | 2006-10-15 21:09:28 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2006-10-15 21:09:28 +0000 |
commit | 88ec761548b66f58acc1a86cdd0fc164ca925476 (patch) | |
tree | d0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/standard/tests/array/array_fill_keys.phpt | |
parent | 268984b4787e797db6054313fc9ba3b9e845306e (diff) | |
download | php-git-PECL_OPENSSL.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/standard/tests/array/array_fill_keys.phpt')
-rwxr-xr-x | ext/standard/tests/array/array_fill_keys.phpt | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/ext/standard/tests/array/array_fill_keys.phpt b/ext/standard/tests/array/array_fill_keys.phpt deleted file mode 100755 index 65c38234cd..0000000000 --- a/ext/standard/tests/array/array_fill_keys.phpt +++ /dev/null @@ -1,42 +0,0 @@ ---TEST-- -basic array_fill_keys test ---FILE-- -<?php - var_dump(array_fill_keys('test', 1)); - var_dump(array_fill_keys(array(), 1)); - var_dump(array_fill_keys(array('foo', 'bar'), NULL)); - var_dump(array_fill_keys(array('5', 'foo', 10, 1.23), 123)); - var_dump(array_fill_keys(array('test', TRUE, 10, 100), '')); -?> ---EXPECTF-- - -Warning: array_fill_keys() expects parameter 1 to be array, string given in %s on line %d -NULL -array(0) { -} -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) "" -} |