1--TEST-- 2using function with same name as defined should fail 3--FILE-- 4<?php 5 6namespace { 7 function bar() {} 8 9 use function foo\bar; 10} 11 12namespace { 13 echo "Done"; 14} 15 16?> 17--EXPECTF-- 18Fatal error: Cannot use function foo\bar as bar because the name is already in use in %s on line %d 19