Jump to content

[SOLVED] getting values passed to function like javascript


asmith

Recommended Posts

hey guys

 

I want to get variables that are passed to a function. 

 

in javascript , no matter how many arguments are defined for a fuction, we can get them in the argument array.

Is there a way to do such thing in php ? 

 

for example : 

 

func1 ($a,$b,$c)

{

.

.

.

 

}

 

Is there an array or something to keep those arguments ? like  argument([0]=>$a,[1]=>$b,[2]=>$c) ?

 

thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.