am using the PocketMine API (not for web), and i have ran a function that returns an array, storing multiple pocketmine\item\Item
arrays.
This could be thought as an array storing objects.
Basically, what I need to do is store this array, but not in the form as it is. (An array containing objects.) I tried serialize()
and json_encode()
. Neither of these work in my situation.
Is there any way i can do this? Thanks.