From 14f94a13e16a054af667fb46ac21f6ccabfa8e03 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 2 Oct 2008 03:31:27 +0000 Subject: [PATCH] - New test --- ext/json/tests/bug46215.phpt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ext/json/tests/bug46215.phpt 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 + ( + ) + +) -- 2.50.1