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
For a php Multidimensional Array, Use
$rowSize = count( $arrayName ); $columnSize = max( array_map('count', $arrayName) );