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/json/tests/002.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/json/tests/002.phpt')
-rw-r--r-- | ext/json/tests/002.phpt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/json/tests/002.phpt b/ext/json/tests/002.phpt deleted file mode 100644 index 5bc29bc5b9..0000000000 --- a/ext/json/tests/002.phpt +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -json_encode() tests ---SKIPIF-- -<?php if (!extension_loaded("json")) print "skip"; ?> ---FILE-- -<?php - -var_dump(json_encode("")); -var_dump(json_encode(NULL)); -var_dump(json_encode(TRUE)); -var_dump(json_encode(array(""=>""))); -var_dump(json_encode(array(array(1)))); - -var_dump(json_encode(1)); -var_dump(json_encode("руссиш")); - - -echo "Done\n"; -?> ---EXPECTF-- -string(2) """" -string(4) "null" -string(4) "true" -string(2) "{}" -string(5) "[[1]]" -string(1) "1" -string(38) ""\u0440\u0443\u0441\u0441\u0438\u0448"" -Done |