summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48912.phpt
blob: b2cee06bf16352305eabbb79dedc7e0268ecbac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #48912 (Namespace causes unexpected strict behaviour with extract())
--FILE--
<?php
namespace A;

function test()
{
    extract(func_get_arg(0));
}

test(array('x' => 1));
echo "ok\n";
?>
--EXPECT--
ok