Rules> <解析器代号列表
Last updated: Mon, 19 Nov 2007

附录S.Userland Naming Guide

目录

Global Namespace
Rules
Tips

The following is a guide for how to best choose names for identifiers in userland PHP code. When choosing names for any code that creates symbols in the global namespace, it is important to take into account the following guidelines to prevent future versions of PHP from clashing with your symbols.

Global Namespace

Here is an overview of code constructs that go into the global namespace:

  • functions

  • classes

  • interfaces

  • constants (not class constants)

  • variables defined outside of functions/methods



add a note add a note User Contributed Notes
Userland Naming Guide
There are no user contributed notes for this page.

Rules> <解析器代号列表
Last updated: Mon, 19 Nov 2007