Esercitazione PHP

PHP HOME Introduzione a PHP Installazione PHP Sintassi PHP Commenti PHP Variabili PHP PHP Eco/Stampa Tipi di dati PHP Stringhe PHP Numeri PHP PHP matematica Costanti PHP Operatori PHP PHP Se...Altro...Altro Passaggio PHP Ciclo PHP Funzioni PHP Array PHP Superglobali PHP RegEx PHP

Moduli PHP

Gestione dei moduli PHP Convalida del modulo PHP Modulo PHP richiesto URL/e-mail del modulo PHP Modulo PHP completo

PHP avanzato

Data e ora PHP PHP Include Gestione dei file PHP Apri/Leggi file PHP Creazione/scrittura di file PHP Caricamento file PHP Cookie PHP Sessioni PHP Filtri PHP Filtri PHP avanzati Funzioni di callback PHP PHP JSON Eccezioni PHP

PHP OOP

PHP Che cos'è OOP Classi/Oggetti PHP Costruttore PHP PHP distruttore Modificatori di accesso PHP Ereditarietà PHP Costanti PHP Classi astratte PHP Interfacce PHP Tratti PHP Metodi statici PHP Proprietà statiche PHP Spazi dei nomi PHP Iterabili PHP

Database MySQL

Database MySQL MySQL Connect MySQL Crea DB MySQL Crea tabella Dati di inserimento MySQL MySQL Ottieni l'ultimo ID MySQL inserisce più MySQL preparato MySQL Seleziona dati MySQL dove MySQL Ordina per MySQL Elimina dati Dati di aggiornamento MySQL Dati limite MySQL

PHP XML

Parser XML PHP Analizzatore PHP SimpleXML PHP SimpleXML - Ottieni PHP XML espatriato PHP XML DOM

PHP - AJAX

Introduzione all'Ajax AJAX PHP Database AJAX XML AJAX Ricerca in tempo reale AJAX Sondaggio AJAX

Esempi PHP

Esempi PHP compilatore PHP Quiz PHP Esercizi PHP Certificato PHP

Riferimento PHP

Panoramica di PHP matrice PHP Calendario PHP Data PHP Directory PHP Errore PHP Eccezione PHP File system PHP Filtro PHP PHP FTP PHP JSON Parole chiave PHP PHP Libxml Posta PHP PHP matematica PHP Varie PHP MySQLi Rete PHP Controllo dell'output PHP RegEx PHP PHP SimpleXML Flusso PHP Stringa PHP Gestione delle variabili PHP Analizzatore XML PHP Zip PHP Fuso orario PHP

Funzioni di gestione delle variabili PHP


Funzioni di gestione delle variabili PHP

Le funzioni di gestione delle variabili PHP fanno parte del nucleo di PHP. Non è richiesta alcuna installazione per utilizzare queste funzioni.

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