PHP: Userland Naming Guide - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Rules List of Parser Tokens

Last updated: Sat, 27 Jan 2007

view this page in

# Приложение R. Userland Naming Guide

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 User Contributed Notes
Userland Naming Guide
There are no user contributed notes for this page.
Rules List of Parser Tokens

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST