mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
17 lines
212 B
Plaintext
17 lines
212 B
Plaintext
|
--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
|