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/005.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/005.phpt')
-rw-r--r-- | ext/json/tests/005.phpt | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ext/json/tests/005.phpt b/ext/json/tests/005.phpt deleted file mode 100644 index f6a8977d18..0000000000 --- a/ext/json/tests/005.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -json_encode() & endless loop - 3 ---SKIPIF-- -<?php if (!extension_loaded("json")) print "skip"; ?> ---FILE-- -<?php - -$a = array(); -$a[] = $a; - -var_dump($a); -var_dump(json_encode($a)); - -echo "Done\n"; -?> ---EXPECTF-- -array(1) { - [0]=> - array(1) { - [0]=> - *RECURSION* - } -} - -Warning: json_encode(): recursion detected in %s on line %d -string(8) "[[null]]" -Done |