func_num_args() (funzione PHP) restituisce il numero complessivo degli argomenti della funzione.
tips&tricks
Sintassi
func_num_args()
| parametro | descrizione |
|---|---|
| – | nessuno |
Esempi
function nome_funzione() {
echo "Gli argomenti sono: " . func_num_args();
}
nome_funzione("A", "B", "C"); // 3
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment