CXXIX. Variáveis, Funções

Introdução

Para maiores informações do comportamento de variáveis veja Variavéis localizada na seção do manual Referências da Linguagem.

Dependências

Nenhuma biblioteca externa é necessária para compilar esta extensão.

Instalação

Não há nenhuma instalação necessária para utilizar estas funções, elas fazem parte do núcleo do PHP.

Configurações em execução

O comportamento dessas funções podem ser modificado pelas configurações do php.ini.

Tabela 1. Variables Configuration Options

NameDefaultChangeableChangelog
unserialize_callback_funcNULLPHP_INI_ALLAvailable since PHP 4.2.0.
Para mais detalhes e definições das constantes PHP_INI_*, veja a documentação de ini_set().

Breve descrição das diretivas de configuração.

unserialize_callback_func string

The unserialize() callback function will called (with the undefined class' name as parameter), if the unserializer finds an undefined class which should be instanciated. A warning appears if the specified function is not defined, or if the function doesn't include/implement the missing class. So only set this entry, if you really want to implement such a callback-function.

See also unserialize().

Tipos Resource

Esta extensão não possui nenhum tipo resource.

Constantes pré-definidas

Esta extensão não possui nenhuma constante.

Índice
debug_zval_dump -- Dumps a string representation of an internal zend value to output
doubleval -- Sinônimo de floatval()
empty -- Informa se a variável é vazia
floatval -- Retorna o valor float da variável
get_defined_vars --  Retorna o array com todas variáveis definidas
get_resource_type --  Retorna o tipo de resource
gettype -- Retorna o tipo da variável
import_request_variables -- Import GET/POST/Cookie variables into the global scope
intval -- Retorna o valor integer da variável
is_array -- Verifica se a variável é um array
is_bool --  Verifica se a variável é um boleano
is_callable --  Verify that the contents of a variable can be called as a function
is_double -- Sinônimo parais_float()
is_float -- Informa se a variável é um float
is_int -- Informa se a variável é um inteiro
is_integer -- Sinônimo de is_int()
is_long -- Sinônimo de is_int()
is_null --  Informa se a variável é NULL
is_numeric --  Informa se a variável é um número ou uma string numérica
is_object -- Informa se a variável é um objeto
is_real -- Função sinônima de is_float()
is_resource --  Informa se a variável é um resource
is_scalar --  Informa se é uma váriavel escalar
is_string -- Informa se a variável é uma string
isset -- Informa se a variável foi iniciada
print_r --  Prints human-readable information about a variable
serialize --  Generates a storable representation of a value
settype -- Atribui um tipo para a variável
strval -- Retorna o valor string de uma variável
unserialize --  Creates a PHP value from a stored representation
unset -- Destrói a variável especificada
var_dump -- Mostra informações sobre a variável
var_export -- Mostra ou retorna uma representação estruturada de uma variável