Ver original$myMatrix = array( array( 'A', 'B', 'C' ), array( 1, 2, 3 )); $_SESSION['matrix'] = $myMatrix; echo $_SESSION['matrix'][1][2];