Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 11123

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Userland Naming Guide</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Manual do PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Apêndices"
HREF="appendices.html"><LINK
REL="PREVIOUS"
TITLE="List of Parser Tokens"
HREF="tokens.html"><LINK
REL="NEXT"
TITLE="Rules"
HREF="userlandnaming.rules.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="appendix"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual do PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="tokens.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="userlandnaming.rules.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="appendix"
><H1
><A
NAME="userlandnaming"
>Apêndice S. Userland Naming Guide</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="userlandnaming.html#userlandnaming.globalnamespace"
>Global Namespace</A
></DT
><DT
><A
HREF="userlandnaming.rules.html"
>Rules</A
></DT
><DT
><A
HREF="userlandnaming.tips.html"
>Tips</A
></DT
></DL
></DIV
><P
>&#13;  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.
 </P
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="userlandnaming.globalnamespace"
>Global Namespace</A
></H1
><P
>&#13;   Here is an overview of code constructs that go into the global namespace:
  </P
><P
></P
><UL
><LI
><P
>functions</P
></LI
><LI
><P
>classes</P
></LI
><LI
><P
>interfaces</P
></LI
><LI
><P
>constants (not class constants)</P
></LI
><LI
><P
>variables defined outside of functions/methods</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="tokens.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Principal</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="userlandnaming.rules.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>List of Parser Tokens</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="appendices.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Rules</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>