Goldenweb.it homepage

ANNUNCI | DIRECTORY | FONTS | ICONE | NEWSGROUPS | TOP25 | WALLPAPERS

English version  

Directory Submission - Inserimento siti web nelle directory
Inserisci il tuo sito nelle directory web piu importanti, la presentazione avverra in modo manuale e semi-automatico fino ad oltre 5.000 web directory di qualita italiane ed internazionali.
SitoHD.com - Crea il tuo sito fotografico professionale
SitoHD.com permette a chiunque di creare in modo semplice e veloce un sito web fotografico professionale. L'interfaccia, interamente in italiano, è pensata anche per chi non ha esperienza nella creazione di un sito web.

GoldenWeb.it Directory "Premium" Links - Il tuo link qui...



func_num_args

(PHP 4 , PHP 5)

func_num_args --  Returns the number of arguments passed to the function

Description

int func_num_args ( void )

Returns the number of arguments passed into the current user-defined function. func_num_args() will generate a warning if called from outside of a user-defined function.

<?php
function foo()
{
    
$numargs = func_num_args();
    echo
"Number of arguments: $numargs\n";
}

foo(1, 2, 3);    // Prints 'Number of arguments: 3'
?>

func_num_args() may be used in conjunction with func_get_arg() and func_get_args() to allow user-defined functions to accept variable-length argument lists.