Ok so I have this function that eventually returns and array return array($offset , $currentpage , $totalpages , $rowsperpage);
I would like to reference this array with keywords like $variablecontainingarray['offset
] rather than $variablecontainingarray[0]
is this possible? I know something similar existed in python.
>>> d = {'key':'value'}
i'd like to have a variable store the output of the array from the function and give a keyword to the values for easier reference.