From: Dmitry Stogov Date: Mon, 15 May 2006 16:44:54 +0000 (+0000) Subject: Added test X-Git-Tag: php-5.2.0RC1~543 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be4c37919b492a371fe5d4302e1c7ecfcea0a402;p=php Added test --- diff --git a/Zend/tests/bug37144.phpt b/Zend/tests/bug37144.phpt new file mode 100755 index 0000000000..e80986e154 --- /dev/null +++ b/Zend/tests/bug37144.phpt @@ -0,0 +1,14 @@ +--TEST-- +Bug #37144 (PHP crashes trying to assign into property of dead object) +--FILE-- +bar = array(1); + return $x; +} +foo()->bar[1] = "123"; +echo "ok\n"; +?> +--EXPECT-- +ok