1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/standard/tests/array/bug65251.phpt

15 lines
233 B
PHP

--TEST--
Bug #65251: array_merge_recursive() recursion detection broken
--FILE--
<?php
try {
array_merge_recursive($GLOBALS, $GLOBALS);
} catch (\Error $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
Recursion detected