| |
 Funzioni Php
Le funzioni del linguaggio php sono le seguenti:
Funzioni numeriche
- abs(x)
- cos(x)
- sin(x)
- tan(x)
- acos(x)
- asin(x)
- atan(x)
- sqrt(x)
- bcadd(x, y, z)
- bccomp(x, y, z)
- bcdiv(x, y, z)
- bcmult(x, y, z)
- bcpow(x, y, z)
- bcsub(x, y, z)
- ceil(x)
- round(x)
- decibin(x)
- dechex(x)
- hexdec(x)
- decoct(x)
- rand(x, y)
Funzioni per variabili e costanti
- define(x, y)
- defined(x)
- max(x, y, z, ....)
- min(x, y, z, ....)
- empty(valore)
- isset(valore)
- is_null(valore)
- is_int(valore)
- is_integer(valore)
- is_long(valore)
- is_float(valore)
- is_double(valore)
- is_real(valore)
- is_string(valore)
- is_array(valore)
- is_numeric(valore)
- gettype(valore)
- print_r(valore)
- unset(valore)
Funzioni stringa
- addslashes
- chr(x)
- chunk_split(stringa, x)
- crypt(stringa, x)
- htmlspecialchars
- strlen(stringa)
- strip_tags($stringa)
- trim(stringa)
- ltrim(stringa)
- rtrim(stringa)
- substr(stringa, X1 , X2)
- str_replace(X1, X2, stringa)
- str_ireplace(X1, X2, stringa)
- strpos(stringa, X1)
- funzione stripos(stringa, X1)
- strstr(stringa, X1)
- stristr(stringa, X1)
- strtolower(stringa)
- strtoupper(stringa)
- ucfirst(stringa)
- ucwords (stringa)
- explode(X1, stringa ,numero)
- nl2br()
Funzioni per array
- sizeof(array)
- current(array)
- is_array(x)
- count(array)
- array_reverse(array, true/false)
- sort(array)
- rsort(array)
- asort(array)
- arsort(array)
- in_array(X1, array)
- array_key_exists(X1, array)
- array_search(X1, array)
- array_merge(array, array, array...)
- array_pop(array)
- array_push(array, X1, X2, X3...)
- array_shift(array)
- array_unshift(array, X1, X2, X3...)
- implode(X1, array)
- list(X1,X2,X3...)
- join(X1, array)
Funzioni per le date
- time() date()
- mktime()
- checkdate()
Funzioni per le sessioni
- session_destroy()
- session_start()
- session_register()
- session_unset()
Commenti
Scrivi
il tuo commento sulla pagina
"Funzioni Php "
Link utili per approfondire il tema Segnala un sito/link di approfondimento
| |