Sophie

Sophie

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

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
>Referências</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="Referência da Linguagem"
HREF="langref.html"><LINK
REL="PREVIOUS"
TITLE="Exceções"
HREF="language.exceptions.html"><LINK
REL="NEXT"
TITLE="O que as referências fazem"
HREF="language.references.whatdo.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="chapter"
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="language.exceptions.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="language.references.whatdo.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="language.references"
>Capítulo 21. Referências</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="language.references.html#language.references.whatare"
>O que são referências</A
></DT
><DT
><A
HREF="language.references.whatdo.html"
>O que as referências fazem</A
></DT
><DT
><A
HREF="language.references.arent.html"
>O que as referências não são</A
></DT
><DT
><A
HREF="language.references.pass.html"
>Passagem por referência</A
></DT
><DT
><A
HREF="language.references.return.html"
>Retornando referências</A
></DT
><DT
><A
HREF="language.references.unset.html"
>Destruindo referências</A
></DT
><DT
><A
HREF="language.references.spot.html"
>Demonstrando referências</A
></DT
></DL
></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="language.references.whatare"
>O que são referências</A
></H1
><P
>&#13;    Referências, em PHP, significa acessar o mesmo conteúdo de variável
    através de vários nomes. Isto não é parecido como os ponteiros em C: aqui temos apelidos
    numa tabela simbólica. Note que no PHP nomes de variáveis e conteúdo de variável
    são tratados diferentemente, então um mesmo conteúdo pode ter nomes diferentes.
    A analogia mais próxima é a dos arquivos e seus nomes em sistemas UNIX:
    nomes de variáveis são o caminho completo dos arquivos, enquanto o conteúdo da variável são
    os dados desse arquivo. Assim, referências pode ser tomadas como os links
    físicos dentro do sistema de arquivos UNIX.
   </P
></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="language.exceptions.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="language.references.whatdo.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Exceções</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="langref.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>O que as referências fazem</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>