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_flip.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_flip.phpt')
-rw-r--r-- | ext/standard/tests/array/array_flip.phpt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/ext/standard/tests/array/array_flip.phpt b/ext/standard/tests/array/array_flip.phpt deleted file mode 100644 index c268f5aaf6..0000000000 --- a/ext/standard/tests/array/array_flip.phpt +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -basic array_flip test ---FILE-- -<?php -$trans = array("a" => 1, - "b" => 1, - "c" => 2, - "z" => 0, - "d" => TRUE, - "E" => FALSE, - "F" => NULL, - 0 => "G", - 1 => "h", - 2 => "i"); -$trans = array_flip($trans); -var_dump($trans); -?> ---EXPECTF-- -Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d - -Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d - -Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d -array(6) { - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [0]=> - string(1) "z" - ["G"]=> - int(0) - ["h"]=> - int(1) - ["i"]=> - int(2) -} |