How to strip value from array returned by google sheets : I am using PHP to read and write to goolge sheets using the goolge API.  When I use this command $my_variable=$service->spreadsheets_values->get($spreadsheetId,$range); google sheets returns an array that looks like this object(Google_Service_Sheets_ValueRange)#44 (7) { ["collection_key":protected]=> string(6) "values" ["majorDimension"]=> string(4) "ROWS" ["range"]=> string(9) "Sheet1!A4" ["values"]=> array(1) { [0]=> array(1) { [0]=> string(3) "180" } } ["internal_gapi_mappings":protected]=> array(0) { } ["modelData":protected]=> array(0) { } ["processed":protected]=> array(0) { } }

The number I want is in the array, it's the answer (output from spreadsheet) which in this case is 180.  What PHP command can I use to pluck that value from the array and echo or print it to the screen?