<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Variáveis, Funções</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 das Funções" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="urlencode" HREF="function.urlencode.html"><LINK REL="NEXT" TITLE="debug_zval_dump" HREF="function.debug-zval-dump.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" 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="function.urlencode.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.debug-zval-dump.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.variables" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >CLXX. Variáveis, Funções</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN229386" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="variables.intro" >Introdução</A ></H1 ><P > Para maiores informações do comportamento de variáveis veja <A HREF="language.variables.html" >Variavéis</A > localizada na seção do manual <A HREF="langref.html" >Referências da Linguagem</A >. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="variables.requirements" >Dependências</A ></H1 ><P >Nenhuma biblioteca externa é necessária para compilar esta extensão.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="variables.installation" >Instalação</A ></H1 ><P >Não há nenhuma instalação necessária para utilizar estas funções, elas fazem parte do núcleo do PHP.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="var.configuration" >Configurações em execução</A ></H1 ><P > O comportamento dessas funções podem ser modificado pelas configurações do <TT CLASS="filename" >php.ini</TT >. </P ><P > <DIV CLASS="table" ><A NAME="AEN229403" ></A ><P ><B >Tabela 1. Opções de Configuração de Variáveis</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><COL><THEAD ><TR ><TH >Nome</TH ><TH >Valor Padrão</TH ><TH >Alterável</TH ><TH >Changelog</TH ></TR ></THEAD ><TBODY ><TR ><TD >unserialize_callback_func</TD ><TD >NULL</TD ><TD >PHP_INI_ALL</TD ><TD >Disponível desde o PHP 4.2.0.</TD ></TR ></TBODY ></TABLE ></DIV > Para mais detalhes e definições das constantes PHP_INI_*, veja <A HREF="ini.html" >Apêndice H</A >. </P ><P >Breve descrição das diretivas de configuração.</P ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><A NAME="unserialize-callback-func" ></A ><CODE CLASS="parameter" >unserialize_callback_func</CODE > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A ></DT ><DD ><P > A função <A HREF="function.unserialize.html" ><B CLASS="function" >unserialize()</B ></A > de callback será chamada (com nome de classe indefinido como parâmetro), se o de-serializador encontra uma classe indefinda que deve ser instanciada. Um aviso aparece se a função especificada não estiver definida, ou se a função não inclue/implementa a classe que falta. Então apenas configure essa entrada se você realmente quer implementa uma função de callback. </P ><P > Veja também <A HREF="function.unserialize.html" ><B CLASS="function" >unserialize()</B ></A >. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="variables.resources" >Tipos Resource</A ></H1 ><P >Esta extensão não possui nenhum tipo resource.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="variables.constants" >Constantes pré-definidas</A ></H1 ><P >Esta extensão não possui nenhuma constante.</P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Índice</B ></DT ><DT ><A HREF="function.debug-zval-dump.html" >debug_zval_dump</A > -- Dumps a string representation of an internal zend value to output</DT ><DT ><A HREF="function.doubleval.html" >doubleval</A > -- Sinônimo de <A HREF="function.floatval.html" ><B CLASS="function" >floatval()</B ></A ></DT ><DT ><A HREF="function.empty.html" >empty</A > -- Informa se a variável é vazia</DT ><DT ><A HREF="function.floatval.html" >floatval</A > -- Retorna o valor float da variável</DT ><DT ><A HREF="function.get-defined-vars.html" >get_defined_vars</A > -- Retorna o array com todas variáveis definidas </DT ><DT ><A HREF="function.get-resource-type.html" >get_resource_type</A > -- Retorna o tipo de resource </DT ><DT ><A HREF="function.gettype.html" >gettype</A > -- Retorna o tipo da variável</DT ><DT ><A HREF="function.import-request-variables.html" >import_request_variables</A > -- Import GET/POST/Cookie variables into the global scope</DT ><DT ><A HREF="function.intval.html" >intval</A > -- Retorna o valor integer da variável</DT ><DT ><A HREF="function.is-array.html" >is_array</A > -- Verifica se a variável é um array</DT ><DT ><A HREF="function.is-binary.html" >is_binary</A > -- Finds whether a variable is a native binary string</DT ><DT ><A HREF="function.is-bool.html" >is_bool</A > -- Verifica se a variável é um boleano </DT ><DT ><A HREF="function.is-buffer.html" >is_buffer</A > -- Finds whether a variable is a native unicode or binary string</DT ><DT ><A HREF="function.is-callable.html" >is_callable</A > -- Verify that the contents of a variable can be called as a function </DT ><DT ><A HREF="function.is-double.html" >is_double</A > -- Sinônimo para<A HREF="function.is-float.html" ><B CLASS="function" >is_float()</B ></A ></DT ><DT ><A HREF="function.is-float.html" >is_float</A > -- Informa se a variável é um float</DT ><DT ><A HREF="function.is-int.html" >is_int</A > -- Informa se a variável é um inteiro</DT ><DT ><A HREF="function.is-integer.html" >is_integer</A > -- Sinônimo de <A HREF="function.is-int.html" ><B CLASS="function" >is_int()</B ></A ></DT ><DT ><A HREF="function.is-long.html" >is_long</A > -- Sinônimo de <A HREF="function.is-int.html" ><B CLASS="function" >is_int()</B ></A ></DT ><DT ><A HREF="function.is-null.html" >is_null</A > -- Informa se a variável é <TT CLASS="constant" ><B >NULL</B ></TT > </DT ><DT ><A HREF="function.is-numeric.html" >is_numeric</A > -- Informa se a variável é um número ou uma string numérica </DT ><DT ><A HREF="function.is-object.html" >is_object</A > -- Informa se a variável é um objeto</DT ><DT ><A HREF="function.is-real.html" >is_real</A > -- Função sinônima de <A HREF="function.is-float.html" ><B CLASS="function" >is_float()</B ></A ></DT ><DT ><A HREF="function.is-resource.html" >is_resource</A > -- Informa se a variável é um resource </DT ><DT ><A HREF="function.is-scalar.html" >is_scalar</A > -- Informa se é uma váriavel escalar </DT ><DT ><A HREF="function.is-string.html" >is_string</A > -- Informa se a variável é uma string</DT ><DT ><A HREF="function.is-unicode.html" >is_unicode</A > -- Finds whether a variable is a unicode string</DT ><DT ><A HREF="function.isset.html" >isset</A > -- Informa se a variável foi iniciada</DT ><DT ><A HREF="function.print-r.html" >print_r</A > -- Prints human-readable information about a variable </DT ><DT ><A HREF="function.serialize.html" >serialize</A > -- Generates a storable representation of a value </DT ><DT ><A HREF="function.settype.html" >settype</A > -- Atribui um tipo para a variável</DT ><DT ><A HREF="function.strval.html" >strval</A > -- Retorna o valor string de uma variável</DT ><DT ><A HREF="function.unserialize.html" >unserialize</A > -- Creates a PHP value from a stored representation </DT ><DT ><A HREF="function.unset.html" >unset</A > -- Destrói a variável especificada</DT ><DT ><A HREF="function.var-dump.html" >var_dump</A > -- Mostra informações sobre a variável</DT ><DT ><A HREF="function.var-export.html" >var_export</A > -- Mostra ou retorna uma representação estruturada de uma variável</DT ></DL ></DIV ></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="function.urlencode.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="function.debug-zval-dump.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >urlencode</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >debug_zval_dump</TD ></TR ></TABLE ></DIV ></BODY ></HTML >