php-src/Zend/tests/bug48912.phpt
2020-02-03 22:52:20 +01:00

17 lines
215 B
PHP

--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