Functions with Endless Amounts of Arguments
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Functions with Endless Amounts of Arguments
Sometimes we need to create functions that require an indefinite and variable amount of arguments.http://www.talkphp.com/tips-tricks/1435-functions-endless-amounts-arguments.html#post3964
Total Hits: 2801
Total Votes: 36 votes
Category: PHP/Functions
Submitted on: 2008-03-19 05:49:21
Submitted By: Devesh Khanna
Description:
Sometimes we need to create functions that require an indefinite and variable amount of arguments. Creating a function to cater for these arguments may seem straight-forward; I've seen several people who have created functions with five or so arguments and if they required a sixth argument at any stage during their project's development, they added the sixth argument to the function and carried on as normal. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |





16.67%

16.67%

16.67%

16.67%

16.67%