From: Felipe Pena Date: Thu, 2 Oct 2008 03:31:27 +0000 (+0000) Subject: - New test X-Git-Tag: BEFORE_HEAD_NS_CHANGE~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14f94a13e16a054af667fb46ac21f6ccabfa8e03;p=php - New test --- diff --git a/ext/json/tests/bug46215.phpt b/ext/json/tests/bug46215.phpt new file mode 100644 index 0000000000..da3344fec0 --- /dev/null +++ b/ext/json/tests/bug46215.phpt @@ -0,0 +1,23 @@ +--TEST-- +Bug #46215 (json_encode mutates its parameter and has some class-specific state) +--FILE-- + +--EXPECT-- +foo Object +( + [a:protected] => Array + ( + ) + +)