Hi everybody,
I was thinking about the possibility of accessing all the variables that are passed into an function, and merge them into an array. (Without passing variables into an array from the beginning)
Pseudo-code:
// Call function
newFunction('one', 'two', 'three' ) ;// All values are interpreted as a one rray in some way
// Function layout
newFunction( ) {
// $functionvariables = array( All passed variables)
foreach ($functionvariable as $k => $v) {
// Do stuff
}
}