V
V
vvmgev2015-10-02 21:45:50
PHP
vvmgev, 2015-10-02 21:45:50

How to find out what arguments are passed to a function?

if we have such a function and how to find out what arguments and number of arguments goes by default

function foo(arguemnt1,arguemnt2,arguemnt3){

}

both php and javascript

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roger, 2015-10-02
@mrquake

How to find out what level of literacy an author has?

S
Stalker_RED, 2015-10-02
@Stalker_RED

javascript.ru/arguments
php.net/manual/ru/function.func-get-args.php
php.net/manual/ru/reserved.variables.argv.php
php.net/manual/ru/functions.arguments.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question