From d2c8d30bb9051d048b6f73b44dc1f6173d6c8909 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 19 Oct 2011 02:28:53 +0000 Subject: [PATCH] Test for #60082 --- ext/spl/tests/bug60082.phpt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 ext/spl/tests/bug60082.phpt diff --git a/ext/spl/tests/bug60082.phpt b/ext/spl/tests/bug60082.phpt new file mode 100755 index 0000000000..f9aa1bd40d --- /dev/null +++ b/ext/spl/tests/bug60082.phpt @@ -0,0 +1,14 @@ +--TEST-- +Bug #60082 (100% CPU / when using references with ArrayObject(&$ref)) +--FILE-- + +===DONE=== + +--EXPECTF-- +Deprecated: Call-time pass-by-reference has been deprecated in %sbug60082.php on line %d + +Fatal error: main(): Array was modified outside object and made a recursive object in %sbug60082.php on line %d -- 2.50.1