From: Antony Dovgal Date: Tue, 15 Aug 2006 08:58:24 +0000 (+0000) Subject: add test X-Git-Tag: RELEASE_1_0_0RC1~1949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=946a29753c61f6fab6c75caa988a5bda182e3463;p=php add test --- diff --git a/Zend/tests/bug38461.phpt b/Zend/tests/bug38461.phpt new file mode 100644 index 0000000000..281d999019 --- /dev/null +++ b/Zend/tests/bug38461.phpt @@ -0,0 +1,25 @@ +--TEST-- +Bug #38461 (setting private attribute with __set() produces segfault) +--FILE-- +$var = $value; + } +} + +class ExtOperation extends Operation +{ + private $x; +} + +$op = new ExtOperation; +$op->x = 'test'; + +echo "Done\n"; +?> +--EXPECT-- +Done