Global Namespace
Here is an overview of code constructs that go into the global namespace:
functions
classes
interfaces
traits
enumerations
constants (not class constants)
-
variables defined outside of functions and methods
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
