rfc:fallback-to-root-scope-deprecation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:fallback-to-root-scope-deprecation [2018/02/03 14:08] – wesnetmo | rfc:fallback-to-root-scope-deprecation [2018/02/03 16:26] (current) – wesnetmo | ||
---|---|---|---|
Line 36: | Line 36: | ||
// Fallback to global scope shim | // Fallback to global scope shim | ||
// This code simply aliases \strlen to \Current\NS\strlen | // This code simply aliases \strlen to \Current\NS\strlen | ||
+ | // Note: this is just a non-binding PoC | ||
autoload_register(AUTOLOAD_FUNCTION | AUTOLOAD_CONST, | autoload_register(AUTOLOAD_FUNCTION | AUTOLOAD_CONST, | ||
// Assumes $namespaced is NOT prepended with \ | // Assumes $namespaced is NOT prepended with \ |
rfc/fallback-to-root-scope-deprecation.1517666899.txt.gz · Last modified: 2018/02/03 14:08 by wesnetmo