If I have an array defined like this in PHP:
$stocked = [];
array_push($stocked, "beer");
array_push($stocked, "chocolate");
How do I print out the array? I tried using echo, but it just gives "Array". What I want is for the output to be ["beer", "chocolate"].