From: Derick Rethans Date: Tue, 9 Mar 2004 08:19:19 +0000 (+0000) Subject: - Added test for bug #27535 (Objects pointing to each other cause Apache to X-Git-Tag: php-5.0.0RC1RC1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=360b98566c34e70a0b97c4457c013cb6def92e6e;p=php - Added test for bug #27535 (Objects pointing to each other cause Apache to crash). --- diff --git a/tests/lang/bug27535.phpt b/tests/lang/bug27535.phpt new file mode 100644 index 0000000000..a6ceae7463 --- /dev/null +++ b/tests/lang/bug27535.phpt @@ -0,0 +1,28 @@ +--TEST-- +Bug #27535 (Objects pointing to each other cause Apache to crash) +--FILE-- +storage = new Class1(); + + $this->storage->_Class2_obj = $this; + } +} + +$foo = new Class2(); + +?> +Alive! +--EXPECT-- +Alive!