Here is the code :
function dosomething ()
{
... do something with the array... like print value !
}
$ar = array(1,2,3);
dosomething ($ar);
That piece of code work fine...
What i try to do is to pass the array DIRECTLY to the function i have try this, non work... HELP !
dosomething ([12,32,56]);
dosomething ({12,45,87});
dosomething ("[98,74,52]");