Tutorial PHP

PHP INÍCIO Introdução ao PHP Instalação do PHP Sintaxe PHP Comentários PHP Variáveis ​​PHP PHP Eco/Impressão Tipos de dados PHP Strings PHP Números PHP Matemática PHP Constantes PHP Operadores PHP PHP If...Else...Elseif Chave PHP Loops PHP Funções PHP Matrizes PHP PHP Superglobais PHP RegEx

Formulários PHP

Manipulação de formulários PHP Validação de formulário PHP Formulário PHP obrigatório URL/e-mail do formulário PHP Formulário PHP completo

PHP Avançado

Data e hora do PHP Incluir PHP Manipulação de arquivos PHP Arquivo PHP Abrir/Ler Arquivo PHP Criar/Gravar Upload de arquivo PHP Cookies PHP Sessões PHP Filtros PHP Filtros PHP Avançados Funções de retorno de chamada do PHP PHP JSON Exceções do PHP

PHP OOP

PHP O que é POO Classes/objetos PHP Construtor PHP Destruidor PHP Modificadores de acesso PHP Herança PHP Constantes PHP Classes abstratas PHP Interfaces PHP Características PHP Métodos estáticos PHP Propriedades estáticas do PHP Namespaces PHP Iteráveis ​​PHP

Banco de dados MySQL

Banco de dados MySQL MySQL Connect MySQL Criar banco de dados MySQL Criar Tabela Dados de inserção do MySQL MySQL Obter Último ID MySQL Inserir Múltiplo Preparado para MySQL Dados de seleção do MySQL MySQL Onde MySQL Ordenar por Dados de exclusão do MySQL Dados de atualização do MySQL Dados de limite do MySQL

PHP XML

Analisadores XML PHP Analisador PHP SimpleXML PHP SimpleXML - Obter PHP XML Expatriado PHP XML DOM

PHP - AJAX

Introdução AJAX PHP AJAX Banco de dados AJAX XML AJAX Pesquisa em tempo real AJAX Enquete AJAX

Exemplos PHP

Exemplos PHP Compilador PHP Teste PHP Exercícios PHP Certificado PHP

Referência PHP

Visão geral do PHP Matriz PHP Calendário PHP Data do PHP Diretório PHP Erro PHP Exceção PHP Sistema de arquivos PHP Filtro PHP PHP FTP PHP JSON Palavras-chave PHP PHP Libxml Correio PHP Matemática PHP PHP Diversos PHP MySQLi Rede PHP Controle de saída PHP PHP RegEx PHP SimpleXML Fluxo PHP String PHP Manipulação de variáveis ​​PHP Analisador XML PHP PHP Zip Fusos horários PHP

Funções de manipulação de variáveis PHP


Funções de manipulação de variáveis ​​PHP

As funções de manipulação de variáveis ​​do PHP fazem parte do núcleo do PHP. Nenhuma instalação é necessária para usar essas funções.

Function Description
boolval() Returns the boolean value of a variable
debug_zval_dump() Dumps a string representation of an internal zend value to output
doubleval() Alias of floatval()
empty() Checks whether a variable is empty
floatval() Returns the float value of a variable
get_defined_vars() Returns all defined variables, as an array
get_resource_type() Returns the type of a resource
gettype() Returns the type of a variable
intval() Returns the integer value of a variable
is_array() Checks whether a variable is an array
is_bool() Checks whether a variable is a boolean
is_callable() Checks whether the contents of a variable can be called as a function
is_countable() Checks whether the contents of a variable is a countable value
is_double() Alias of is_float()
is_float() Checks whether a variable is of type float
is_int() Checks whether a variable is of type integer
is_integer() Alias of is_int()
is_iterable() Checks whether the contents of a variable is an iterable value
is_long() Alias of is_int()
is_null() Checks whether a variable is NULL
is_numeric() Checks whether a variable is a number or a numeric string
is_object() Checks whether a variable is an object
is_real() Alias of is_float()
is_resource() Checks whether a variable is a resource
is_scalar() Checks whether a variable is a scalar
is_string() Checks whether a variable is of type string
isset() Checks whether a variable is set (declared and not NULL)
print_r() Prints the information about a variable in a human-readable way
serialize() Converts a storable representation of a value
settype() Converts a variable to a specific type
strval() Returns the string value of a variable
unserialize() Converts serialized data back into actual data
unset() Unsets a variable
var_dump() Dumps information about one or more variables
var_export() Returns structured information (valid PHP code) about a variable