Hey all,
I'm looking to see if there is some PHP syntax that I'm missing that will allow me to grab the contents of the array I just manipulated using a function..
Good example:
$firstElement = sort($myArray)[0];
Where normally I would have to do this:
$myArray = sort($myArray);
$firstElement = $myArray[0];
Any clean way of doing this??
Thanks Everyone! Matt