rfc:namespaceresolution
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:namespaceresolution [2008/10/30 20:17] – lsmith | rfc:namespaceresolution [2008/10/31 17:49] – tweaked examples lsmith | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Namespace identifier resolution RFCs ====== | ====== Namespace identifier resolution RFCs ====== | ||
- | * Version: 1.0 | + | * Version: 1.0.1 |
* Date: 2008-10-30 | * Date: 2008-10-30 | ||
* Author: Lukas Smith < | * Author: Lukas Smith < | ||
Line 15: | Line 15: | ||
<?php | <?php | ||
namespace foo; | namespace foo; | ||
- | class blah {} | ||
- | function blah(){} | ||
$bar = new bar(); | $bar = new bar(); | ||
Line 33: | Line 31: | ||
namespace foo; | namespace foo; | ||
use \dong as bar; | use \dong as bar; | ||
- | |||
- | class blah {} | ||
- | function blah(){} | ||
$bar = new bar(); | $bar = new bar(); | ||
Line 168: | Line 163: | ||
===== Changelog ===== | ===== Changelog ===== | ||
+ | - from 1.0 to 1.0.1: tweaked examples | ||
- from 0.9 to 1.0: added some examples, added note about use statement, fixed some language issues | - from 0.9 to 1.0: added some examples, added note about use statement, fixed some language issues | ||
rfc/namespaceresolution.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1