1--TEST-- 2Reserved keywords in namespace name 3--FILE-- 4<?php 5 6namespace iter\fn { 7 function test() { 8 echo __FUNCTION__, "\n"; 9 } 10} 11 12namespace fn { 13 function test() { 14 echo __FUNCTION__, "\n"; 15 } 16} 17 18namespace self { 19 function test() { 20 echo __FUNCTION__, "\n"; 21 } 22} 23 24namespace { 25 use iter\fn; 26 use function fn\test as test2; 27 use function self\test as test3; 28 fn\test(); 29 test2(); 30 test3(); 31} 32 33?> 34--EXPECT-- 35iter\fn\test 36fn\test 37self\test 38