2
這裏的功能是代碼:發送陣列在PHP
function dosomething()
{
... do something with the array... like print value !
}
$ar = array(1,2,3);
dosomething ($ar);
這段代碼做工精細...
我嘗試做的是直接傳遞數組功能 我有嘗試這個,不工作...幫助!
dosomething ([12,32,56]);
dosomething ({12,45,87});
dosomething ("[98,74,52]");