From 360b98566c34e70a0b97c4457c013cb6def92e6e Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 9 Mar 2004 08:19:19 +0000 Subject: [PATCH] - Added test for bug #27535 (Objects pointing to each other cause Apache to crash). --- tests/lang/bug27535.phpt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/lang/bug27535.phpt diff --git a/tests/lang/bug27535.phpt b/tests/lang/bug27535.phpt new file mode 100644 index 00000000000..a6ceae7463c --- /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!