From: Xinchen Hui Date: Wed, 19 Oct 2011 02:28:53 +0000 (+0000) Subject: Test for #60082 X-Git-Tag: php-5.3.9RC1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2c8d30bb9051d048b6f73b44dc1f6173d6c8909;p=php Test for #60082 --- 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