I have a two dimensional array with unknown number of elements.
$two_darray[row][column]; //there will be an unknown integer values instead of row and column
the quick way for normal,non-mixed 2-dim Array,
$Rows=count($array); $colomns=(count($array,1)-count($array))/count($array);