PHP 8.3.4 Released!

全局命名空间

以下代码结构会进入全局命名空间:

  • functions(函数)

  • classes(类)

  • interfaces(接口)

  • constants(常量,并非类常量)

  • 在函数/方法之外定义的变量

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top