rfc:namespace-importing-with-from
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:namespace-importing-with-from [2012/07/24 15:10] – Enhance namespace importing with from syntax reeze | rfc:namespace-importing-with-from [2012/07/24 15:13] – update reeze | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This RFC proposes adding a new syntax <code php>from namespace use subnamespace as alias;</ | + | This RFC proposes adding a new syntax <code php>from namespace use subnamespace as alias, sub_ns2, sub3 as alias3;</ |
+ | This syntax is used to import multiple symbols from a common namespace cleanly. | ||
It will make namespace importing easier and reduce deplication. | It will make namespace importing easier and reduce deplication. | ||
rfc/namespace-importing-with-from.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1