rfc:namespacecurlies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:namespacecurlies [2008/08/31 13:10] hellyrfc:namespacecurlies [2008/08/31 13:13] helly
Line 80: Line 80:
  
 ==== Nested namespace support ==== ==== Nested namespace support ====
 +
 +PHP uses simple text replacement for namespace resolution and thus can easily allow nested namespaces without any technical issue whatsoever.
  
 ===== Proposal and Patch ===== ===== Proposal and Patch =====
  
-We propose to add namespaces as block structures and drop 'namespace foo;' in favor of 'namespace foo: ; endnamespace;', as in this [[http://felipe.ath.cx/diff/namespace-braces-5_3.diff|patch]].+We propose to add namespaces as block structures and drop 'namespace foo;' in favor of 'namespace foo: ; endnamespace;', as in this [[http://felipe.ath.cx/diff/namespace-braces-5_3.diff|patch]]. The tests are provided in a [[http://felipe.ath.cx/diff/ns-tests-53.diff|second patch]].
  
 ===== Changelog ===== ===== Changelog =====
rfc/namespacecurlies.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1