summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug65251.phpt
blob: 6d9cded21c84e8815fc8a5903947102a1ea0174e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #65251: array_merge_recursive() recursion detection broken
--FILE--
<?php

/* This no longer involves any recursion. */
try {
    array_merge_recursive($GLOBALS, $GLOBALS);
} catch (\Error $e) {
    echo $e->getMessage() . "\n";
}

?>
===DONE===
--EXPECT--
===DONE===