I have a vardump that looks like this:
Array
(
[0] => stdClass Object
(
[downloadsLeft] => 0
)
)
It's stored in the variable $downloadsOBJ
How would I access the downloadsLeft variable within that array and store it in a new variable:
e.g.
$downloadsLeft = $downloadsOBJ['downloadsLeft'];