I believe the easiest way to do this is to concatinate the array into a string on the JS side and then send it and on the PHP side split it apart. Though, this would assume that things are number and not simply strings of characters. If you are passing string it could get a bit more complex.
So, here is what I am talking about:
CODE
var array = new Array(0, 1,2, 3, 4, 5, 6);
function concat(array){
var str = "";
for(i=0; i<array.length; i++){
if(i>0){
str += ""+array[i];
}
else{
str += ","+array[i];
}
}
return str;
}
var string = concat(array); // should return "0,1,2,3,4,5,6
Then the PHP side could look like so:
CODE
<?php
$string = $_GET['arr'];
$string = explode(" ", $string);
echo count($string) . " << Length fo arr";
?>
Hope that helps.
NOTE - I haven't tsted this, so it may not work.