From: Xinchen Hui Date: Mon, 1 Oct 2012 16:27:35 +0000 (+0800) Subject: Add test for #35895 X-Git-Tag: php-5.4.8RC1~3^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af0c22537a31af9e441f5889e26297dc8aa2187a;p=php Add test for #35895 --- diff --git a/ext/standard/tests/serialize/bug35895.phpt b/ext/standard/tests/serialize/bug35895.phpt new file mode 100644 index 0000000000..22fce0d1f2 --- /dev/null +++ b/ext/standard/tests/serialize/bug35895.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #35895 (__sleep and private property) +--FILE-- + +--EXPECTF-- +Notice: serialize(): "parents" returned as member variable from __sleep() but does not exist in %sbug35895.php on line %d